projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rocco Rutte:
[apps/madmutt.git]
/
rfc2231.c
diff --git
a/rfc2231.c
b/rfc2231.c
index
3f45650
..
3e49484
100644
(file)
--- a/
rfc2231.c
+++ b/
rfc2231.c
@@
-29,6
+29,10
@@
*
*/
*
*/
+#if HAVE_CONFIG_H
+# include "config.h"
+#endif
+
#include "mutt.h"
#include "mime.h"
#include "charset.h"
#include "mutt.h"
#include "mime.h"
#include "charset.h"
@@
-113,6
+117,11
@@
void rfc2231_decode_parameters (PARAMETER **headp)
if (option (OPTRFC2047PARAMS) && p->value && strstr (p->value, "=?"))
rfc2047_decode (&p->value);
if (option (OPTRFC2047PARAMS) && p->value && strstr (p->value, "=?"))
rfc2047_decode (&p->value);
+ else if (!option (OPTSTRICTMIME))
+ {
+ if (ascii_strcasecmp (AssumedCharset, "us-ascii"))
+ mutt_convert_nonmime_string (&p->value);
+ }
*last = p;
last = &p->next;
*last = p;
last = &p->next;