SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

0 0 1 Python

Recognize '<>' as a special case of an angle-addr in header_value_parser.

Although '<>' is invalid according to RFC 5322, SMTP uses it for various
things, and it sometimes ends up in email headers.  This patch changes
get_angle_addr to recognize it and just register a Defect instead of raising a
parsing error.
R
R David Murray committed
032eed3c4a42ca29de2c07fba2e0555eaff1700c
Parent: d785cb3