Skip to content

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

Merged
warsaw merged 1 commit intopython:3.8from
miss-islington:backport-7213df7-3.8
Jun 26, 2019
Merged

[3.8] bpo-29412: Fix indexError when parsing a header value ending unexpectedly (GH-14387)#14411
warsaw merged 1 commit intopython:3.8from
miss-islington:backport-7213df7-3.8

Conversation

@miss-islington
Copy link
Copy Markdown
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
Copy Markdown
Contributor Author

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

2 similar comments
@miss-islington
Copy link
Copy Markdown
Contributor Author

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

@miss-islington
Copy link
Copy Markdown
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