]> granicus.if.org Git - python/commit
bpo-27931: Fix email address header parsing error (GH-5329) (GH-5431)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 29 Jan 2018 22:27:55 +0000 (14:27 -0800)
committerMariatta <Mariatta@users.noreply.github.com>
Mon, 29 Jan 2018 22:27:55 +0000 (14:27 -0800)
commit6ea75b174da0cf824e2acc5db6b53798f5f4e4f9
tree98c7edeeae50796d7f94e03105c63e3074afe4a5
parent586986182343eb7475046a5429a1a0e1f368c7ea
bpo-27931: Fix email address header parsing error (GH-5329) (GH-5431)

Correctly handle addresses whose username is an empty quoted string.
(cherry picked from commit aa218d1649690d1c1ba86a9972f7fae646bf1a8f)

Co-authored-by: jayyyin <jayyin11043@hotmail.com>
Lib/email/_header_value_parser.py
Lib/test/test_email/test__header_value_parser.py
Misc/NEWS.d/next/Library/2018-01-25-21-04-11.bpo-27931.e4r52t.rst [new file with mode: 0644]