summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorR. David Murray <rdmurray@bitdance.com>2010-08-03 23:35:44 (GMT)
committerR. David Murray <rdmurray@bitdance.com>2010-08-03 23:35:44 (GMT)
commite06528c64b62abbaa49dedc395e1ce58ad3962fe (patch)
treef18571bb17671e57110e8a93ac356dc39ff52118 /Misc
parent1f0f2785d9000e0120cca170208004ae0189dd3c (diff)
downloadcpython-e06528c64b62abbaa49dedc395e1ce58ad3962fe.zip
cpython-e06528c64b62abbaa49dedc395e1ce58ad3962fe.tar.gz
cpython-e06528c64b62abbaa49dedc395e1ce58ad3962fe.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 03f96eb..6486e79 100644
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -817,6 +817,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 8e164a9..262bd5e 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -84,6 +84,9 @@ C-API
Library
-------
+- Issue #3196: email header decoding is now forgiving if an RFC2047
+ encoded word encoded in base64 is lacking padding.
+
- Issue #8447: Make distutils.sysconfig follow symlinks in the path to
the interpreter executable. This fixes a failure of test_httpservers
on OS X.