diff roundup/rfc2822.py @ 3519:0c34f5a116ef

additional header encode/decode fixes
author Richard Jones <richard@users.sourceforge.net>
date Fri, 27 Jan 2006 05:16:40 +0000
parents 285d90265a08
children 97f9fc0bc0ea
line wrap: on
line diff
--- a/roundup/rfc2822.py	Fri Jan 27 03:30:39 2006 +0000
+++ b/roundup/rfc2822.py	Fri Jan 27 05:16:40 2006 +0000
@@ -141,7 +141,7 @@
         if c == ' ':
             quoted += '_'
         # These characters can be included verbatim
-        elif hqre.match(c) and c != '_':
+        elif hqre.match(c) and c not in '_=':
             quoted += c
         # Otherwise, replace with hex value like =E2
         else:

Roundup Issue Tracker: http://roundup-tracker.org/