summaryrefslogtreecommitdiffstats
path: root/libraries/libvmime-zarafa/zarafa-patches/vmime-quoted-printable-specials.diff
blob: c7d3cb3fb37280afc610a75ec69ce1f15aa887b0 (plain)
--- libvmime-0.7.1.orig/src/encoderQP.cpp	2005-03-18 22:26:47.000000000 +0100
+++ libvmime-0.7.1.patched/src/encoderQP.cpp	2007-02-02 10:09:26.273653250 +0100
@@ -214,10 +214,18 @@
 			QP_ENCODE_HEX('=')
 			break;
 		}
+		// http://www.faqs.org/rfcs/rfc2047.html, see 'especials' characters
 		case ',':
 		case ';':
 		case ':':
 		case '_':
+		case '@':
+		case '(':
+		case ')':
+		case '<':
+		case '>':
+		case '[':
+		case ']':
 		{
 			if (rfc2047)
 			{