diff options
author | Abhilash Raj <maxking@users.noreply.github.com> | 2019-06-04 17:41:34 (GMT) |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 2019-06-04 17:41:34 (GMT) |
commit | 46d88a113142b26c01c95c93846a89318ba87ffc (patch) | |
tree | 756e002f21f3fa01483b309ddf85b0ed37e2e19d /Misc/NEWS.d/next | |
parent | bc6469f79ca13217b784fb47da7ec83484a3debe (diff) | |
download | cpython-46d88a113142b26c01c95c93846a89318ba87ffc.zip cpython-46d88a113142b26c01c95c93846a89318ba87ffc.tar.gz cpython-46d88a113142b26c01c95c93846a89318ba87ffc.tar.bz2 |
bpo-35805: Add parser for Message-ID email header. (GH-13397)
* bpo-35805: Add parser for Message-ID header.
This parser is based on the definition of Identification Fields from RFC 5322
Sec 3.6.4.
This should also prevent folding of Message-ID header using RFC 2047 encoded
words and hence fix bpo-35805.
* Prevent folding of non-ascii message-id headers.
* Add fold method to MsgID token to prevent folding.
Diffstat (limited to 'Misc/NEWS.d/next')
-rw-r--r-- | Misc/NEWS.d/next/Library/2019-05-17-15-11-08.bpo-35805.E4YwYz.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2019-05-17-15-11-08.bpo-35805.E4YwYz.rst b/Misc/NEWS.d/next/Library/2019-05-17-15-11-08.bpo-35805.E4YwYz.rst new file mode 100644 index 0000000..2d8c8b3 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2019-05-17-15-11-08.bpo-35805.E4YwYz.rst @@ -0,0 +1,2 @@ +Add parser for Message-ID header and add it to default HeaderRegistry. This +should prevent folding of Message-ID using RFC 2048 encoded words. |