summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorR. David Murray <rdmurray@bitdance.com>2010-08-04 00:05:50 (GMT)
committerR. David Murray <rdmurray@bitdance.com>2010-08-04 00:05:50 (GMT)
commit75a292e5be429977656acaf846345be9dc0a6b8e (patch)
tree6a78b925d0a0b0a0f7bdd1ad9bf7dfa01ca3163c /Misc
parentf38d888f2f9d071191a0defe4f37066c6c8d2233 (diff)
downloadcpython-75a292e5be429977656acaf846345be9dc0a6b8e.zip
cpython-75a292e5be429977656acaf846345be9dc0a6b8e.tar.gz
cpython-75a292e5be429977656acaf846345be9dc0a6b8e.tar.bz2
Merged revisions 83690 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r83690 | r.david.murray | 2010-08-03 18:14:10 -0400 (Tue, 03 Aug 2010) | 10 lines #3196: if needed pad a short base64 encoded word before trying to decode. The RFCs encourage following Postel's law: be liberal in what you accept. So if someone forgot to pad the base64 encoded word payload to an even four bytes, we add the padding before handing it to base64mime.decode. Previously, missing padding resulted in a HeaderParseError. Patch by Jason Williams. ........
Diffstat (limited to 'Misc')
-rw-r--r--Misc/ACKS1
-rw-r--r--Misc/NEWS3
2 files changed, 4 insertions, 0 deletions
diff --git a/Misc/ACKS b/Misc/ACKS
index 197a502..089939e 100644
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -831,6 +831,7 @@ Felix Wiemann
Gerry Wiener
Frank Wierzbicki
Bryce "Zooko" Wilcox-O'Hearn
+Jason Williams
John Williams
Sue Williams
Gerald S. Williams
diff --git a/Misc/NEWS b/Misc/NEWS
index d8b079b..545ef74 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -24,6 +24,9 @@ Core and Builtins
Library
-------
+- Issue #3196: email header decoding is now forgiving if an RFC2047
+ encoded word encoded in base64 is lacking padding.
+
- Issue #9444: Argparse now uses the first element of prefix_chars as
the option character for the added 'h/help' option if prefix_chars
does not contain a '-', instead of raising an error.