Message316440
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.py 2018-03-14 01:07:54.000000000 +0100
+++ _header_value_parser.py 2018-05-13 02:17:13.830053600 +0200
@@ -1876,7 +1876,7 @@
if not value:
group.defects.append(errors.InvalidHeaderDefect(
"end of header in group"))
- if value[0] != ';':
+ elif value[0] != ';':
raise errors.HeaderParseError(
"expected ';' at end of group but found {}".format(value))
group.append(ValueTerminal(';', 'group-terminator')) |
|
Date |
User |
Action |
Args |
2018-05-13 00:50:03 | Cacadril | set | recipients:
+ Cacadril, barry, r.david.murray |
2018-05-13 00:50:02 | Cacadril | set | messageid: <1526172602.81.0.682650639539.issue33476@psf.upfronthosting.co.za> |
2018-05-13 00:50:02 | Cacadril | link | issue33476 messages |
2018-05-13 00:50:01 | Cacadril | create | |
|