Skip to content

Commit 42aec37

Browse files
author
Richard Jones
committed
merge from HEAD
1 parent 48dba66 commit 42aec37

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGES.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ Fixed:
1616
- fix permission checks in cgi interface (sf bug 1289557)
1717
- fix permission check on RetireAction (sf bug 1407342)
1818
- timezone now applied to date for pretty-format (sf bug 1406861)
19+
- fix mangling of "_" in mail Subject class name (sf bug 1413852)
1920

2021

2122
2005-10-07 0.8.5

roundup/rfc2822.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ def encode_header(header, charset='utf-8'):
141141
if c == ' ':
142142
quoted += '_'
143143
# These characters can be included verbatim
144-
elif hqre.match(c):
144+
elif hqre.match(c) and c != '_':
145145
quoted += c
146146
# Otherwise, replace with hex value like =E2
147147
else:

0 commit comments

Comments
 (0)