Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bpo-38708: email: Fix a potential IndexError when parsing Message-ID #17504

Merged
merged 1 commit into from Dec 9, 2019

Conversation

@maxking
Copy link
Contributor

maxking commented Dec 8, 2019

Fix a potential IndexError when passing an empty value to the message-id
parser. Instead, HeaderParseError should be raised.

https://bugs.python.org/issue38708

Fix a potential IndexError when passing an empty value to the message-id
parser. Instead, HeaderParseError should be raised.
Copy link
Member

corona10 left a comment

Looks good to me

@maxking maxking merged commit 3ae4ea1 into python:master Dec 9, 2019
4 checks passed
4 checks passed
Azure Pipelines PR #20191208.2 succeeded
Details
bedevere/issue-number Issue number 38708 found
Details
bedevere/news News entry found in Misc/NEWS.d
continuous-integration/travis-ci/pr The Travis CI build passed
Details
@maxking maxking deleted the maxking:bpo-38708 branch Dec 9, 2019
@miss-islington

This comment has been minimized.

Copy link

miss-islington commented Dec 9, 2019

Thanks @maxking for the PR 🌮🎉.. I'm working now to backport this PR to: 3.8.
🐍🍒🤖

miss-islington added a commit to miss-islington/cpython that referenced this pull request Dec 9, 2019
…ythonGH-17504)

Fix a potential IndexError when passing an empty value to the message-id
parser. Instead, HeaderParseError should be raised.
(cherry picked from commit 3ae4ea1)

Co-authored-by: Abhilash Raj <maxking@users.noreply.github.com>
@bedevere-bot

This comment has been minimized.

Copy link

bedevere-bot commented Dec 9, 2019

GH-17515 is a backport of this pull request to the 3.8 branch.

miss-islington added a commit that referenced this pull request Dec 9, 2019
…H-17504)

Fix a potential IndexError when passing an empty value to the message-id
parser. Instead, HeaderParseError should be raised.
(cherry picked from commit 3ae4ea1)

Co-authored-by: Abhilash Raj <maxking@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
5 participants
You can’t perform that action at this time.