Skip to content

[3.8] bpo-29412: Fix indexError when parsing a header value ending unexpectedly (GH-14387) #14411

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

Merged
merged 1 commit into from
Jun 26, 2019

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Jun 26, 2019

  • patched string index out of range error in get_word function of _header_value_parser.py and created tests in test__header_value_parser.py for CFWS.
  • Raise HeaderParseError instead of continuing when parsing a word.
    (cherry picked from commit 7213df7)

Co-authored-by: Abhilash Raj maxking@users.noreply.github.com

https://bugs.python.org/issue29412

…edly (pythonGH-14387)

* patched string index out of range error in get_word function of _header_value_parser.py and created tests in test__header_value_parser.py for CFWS.
* Raise HeaderParseError instead of continuing when parsing a word.
(cherry picked from commit 7213df7)

Co-authored-by: Abhilash Raj <maxking@users.noreply.github.com>
@miss-islington
Copy link
Contributor Author

@maxking and @warsaw: Status check is done, and it's a success ✅ .

2 similar comments
@miss-islington
Copy link
Contributor Author

@maxking and @warsaw: Status check is done, and it's a success ✅ .

@miss-islington
Copy link
Contributor Author

@maxking and @warsaw: Status check is done, and it's a success ✅ .

@warsaw warsaw merged commit 82654a0 into python:3.8 Jun 26, 2019
@miss-islington miss-islington deleted the backport-7213df7-3.8 branch June 26, 2019 22:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants