Skip to content

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

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

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

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 ✅ .

1 similar comment
@miss-islington
Copy link
Copy Markdown
Contributor Author

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

@warsaw warsaw merged commit b950cdb into python:3.7 Jun 26, 2019
@miss-islington miss-islington deleted the backport-7213df7-3.7 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