commit | 46d88a113142b26c01c95c93846a89318ba87ffc | [log] [tgz] |
---|---|---|
author | Abhilash Raj <maxking@users.noreply.github.com> | Tue Jun 04 13:41:34 2019 -0400 |
committer | Barry Warsaw <barry@python.org> | Tue Jun 04 10:41:34 2019 -0700 |
tree | 756e002f21f3fa01483b309ddf85b0ed37e2e19d | |
parent | bc6469f79ca13217b784fb47da7ec83484a3debe [diff] |
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.