SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

0 0 1 Python

bpo-29412: Fix indexError when parsing a header value ending unexpectedly (GH-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.
A
Abhilash Raj committed
7213df7bbfd85378c6e42e1ac63144d5974bdcf6
Parent: 2a7d596
Committed by Barry Warsaw <barry@python.org> on 6/26/2019, 8:13:02 PM