summaryrefslogtreecommitdiff
path: root/pith
diff options
context:
space:
mode:
Diffstat (limited to 'pith')
-rw-r--r--pith/pine.hlp11
-rw-r--r--pith/send.c10
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++;
}