[issue33476] String index out of range in get_group(), email/_header_value_parser.py

2018-05-20 Thread Enrique Perez-Terron
Enrique Perez-Terron <enri...@perezterron.net> added the comment: Unsure how to issue a "PR" (Problem Report?) with a test case. Here is my best effort: Create a file "email.eml" in the current directory, as attached. (The contents were lifted from RFC2822 se

[issue33476] String index out of range in get_group(), email/_header_value_parser.py

2018-05-12 Thread Enrique Perez-Terron
New submission from Enrique Perez-Terron <enri...@perezterron.net>: When address group is missing final ';', 'value' will be an empty string. I suggest the following patch $ diff -u _save_header_value_parser.py _header_value_parser.py --- _save_header_value_parser.py2018-03-14