diff options
Diffstat (limited to 'pith')
-rw-r--r-- | pith/pine.hlp | 10 | ||||
-rw-r--r-- | pith/send.c | 19 |
2 files changed, 22 insertions, 7 deletions
diff --git a/pith/pine.hlp b/pith/pine.hlp index ce7d04be..1a0d3bed 100644 --- a/pith/pine.hlp +++ b/pith/pine.hlp @@ -140,7 +140,7 @@ with help text for the config screen and the composer that didn't have any reasonable place to be called from. Dummy change to get revision in pine.hlp ============= h_revision ================= -Alpine Commit 27 2013-08-30 23:54:12 +Alpine Commit 29 2013-09-05 00:40:13 ============= h_news ================= <HTML> <HEAD> @@ -179,6 +179,9 @@ Additions include: <P> <UL> + <LI> Experimental: Write the content-type of a message in lowercase, as some + non-compliant servers do not understand uppercase content-type, such as + those of GMX.de. <LI> Opening a folder updates recent count in maildrops (this already works for other types of folders) <LI> Automatically redraw screen after opening an attachment instead of @@ -191,9 +194,10 @@ Additions include: <P> Bugs that have been addressed include: <UL> + <LI> Transformation of UTF-8 to MUTF7 was not being done when creating a folder + in an IMAP server. <LI> DATE tokens were not internally transformed to UTF-8, which made their - values appear garbled or incomplete in the screen. Reported by Werner - Scheinast. + values not appear complete in the screen. Reported by Werner Scheinast. <LI> Fixes to configure script so that it will not require PAM for every system. <LI> Fix to configure script so that it will use CPPFLAGS instead of CPPCFLAGS, and so the --with-ssl-include-dir option take effect diff --git a/pith/send.c b/pith/send.c index 273f59aa..ae649ab6 100644 --- a/pith/send.c +++ b/pith/send.c @@ -4419,6 +4419,17 @@ pine_rfc822_output_body(struct mail_bodystruct *body, soutr_t f, void *s) return(1); } +char * +ToLower(char *s, char *t) +{ + int i; + + for(i = 0; s != NULL && s[i] != '\0'; i++) + t[i] = s[i] + ((s[i] >= 'A' && s[i] <= 'Z') ? ('a' - 'A') : 0); + t[i] = '\0'; + + return t; +} /* * pine_write_body_header - another c-client clone. This time @@ -4441,11 +4452,11 @@ pine_write_body_header(struct mail_bodystruct *body, soutr_t f, void *s) if((so = so_get(CharStar, NULL, WRITE_ACCESS)) != NULL){ if(!(so_puts(so, "Content-Type: ") - && so_puts(so, body_types[body->type]) + && so_puts(so, ToLower(body_types[body->type], tmp)) && so_puts(so, "/") - && so_puts(so, body->subtype - ? body->subtype - : rfc822_default_subtype (body->type)))) + && so_puts(so, ToLower(body->subtype + ? body->subtype + : rfc822_default_subtype (body->type),tmp)))) return(pwbh_finish(0, so)); if(body->parameter){ |