diff options
author | Eduardo Chappa <chappa@washington.edu> | 2021-03-14 22:36:02 -0600 |
---|---|---|
committer | Eduardo Chappa <chappa@washington.edu> | 2021-03-14 22:36:02 -0600 |
commit | 903b5ac6305612d16e6053b4a4e8957d8ada9bde (patch) | |
tree | eb34a7659a82bd6540b26f6cc8e2bf65f20bc677 | |
parent | 64dffbd53473dc6ffa6218a9a0ecda54a9d3376f (diff) | |
download | alpine-903b5ac6305612d16e6053b4a4e8957d8ada9bde.tar.xz |
* The instruction to remove the double quotes from the processing of
customized headers existed in pine, but it was removed in alpine, but
I do not know why, so we will restore it until we understand why it
was removed. Also see:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=981781
-rw-r--r-- | pith/pine.hlp | 11 | ||||
-rw-r--r-- | pith/send.c | 10 |
2 files changed, 20 insertions, 1 deletions
diff --git a/pith/pine.hlp b/pith/pine.hlp index 6ab8a33a..fc6ed962 100644 --- a/pith/pine.hlp +++ b/pith/pine.hlp @@ -185,6 +185,17 @@ new additions to Alpine, please check it periodically. <P> These changes were made after the release of version 2.24. +<P> +New features include: + +<UL> +<LI> Experimental: The instruction to remove the double quotes from the processing of + customized headers existed in pine, but it was removed in alpine. Restoring + old Alpine behavior. See + <A href="https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=981781">this</A> + report for more background information. +</UL> + <P> Bugs addressed: diff --git a/pith/send.c b/pith/send.c index 8d4d419a..307d9367 100644 --- a/pith/send.c +++ b/pith/send.c @@ -5070,8 +5070,16 @@ customized_hdr_setup(PINEFIELD *head, char **list, CustomType cstmtype) /* give them an alloc'd default, even if empty */ pf->textbuf = cpystr((*value == ':') ? skip_white_space(++value) : ""); - if(pf->textbuf && pf->textbuf[0]) + /* The instruction to remove the double quotes existed in + * pine, but it was removed in alpine, but I do not know + * why, so we will restore it until we understand why it + * was removed. Also see: + * https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=981781 + */ + if(pf->textbuf && pf->textbuf[0]){ + removing_double_quotes(pf->textbuf); pf->val = cpystr(pf->textbuf); + } pf++; } |