summaryrefslogtreecommitdiffstats
path: root/Grammar
diff options
context:
space:
mode:
authorjpic <jpic@users.noreply.github.com>2019-07-17 21:54:25 (GMT)
committerMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-07-17 21:54:25 (GMT)
commit8cb65d1381b027f0b09ee36bfed7f35bb4dec9a9 (patch)
tree66906fde428f0af62b753d529cd28a87c9e7438c /Grammar
parent719a062bcb7b08a56e6576dcd75f4244e6053209 (diff)
downloadcpython-8cb65d1381b027f0b09ee36bfed7f35bb4dec9a9.zip
cpython-8cb65d1381b027f0b09ee36bfed7f35bb4dec9a9.tar.gz
cpython-8cb65d1381b027f0b09ee36bfed7f35bb4dec9a9.tar.bz2
bpo-34155: Dont parse domains containing @ (GH-13079)
Before: >>> email.message_from_string('From: a@malicious.org@important.com', policy=email.policy.default)['from'].addresses (Address(display_name='', username='a', domain='malicious.org'),) >>> parseaddr('a@malicious.org@important.com') ('', 'a@malicious.org') After: >>> email.message_from_string('From: a@malicious.org@important.com', policy=email.policy.default)['from'].addresses (Address(display_name='', username='', domain=''),) >>> parseaddr('a@malicious.org@important.com') ('', 'a@') https://bugs.python.org/issue34155
Diffstat (limited to 'Grammar')
0 files changed, 0 insertions, 0 deletions