[issue32179] Empty email address in headers triggers an IndexError

Abhilash Raj report at bugs.python.org
Fri Jun 14 14:45:08 EDT 2019


Abhilash Raj <raj.abhilash1 at gmail.com> added the comment:

I wasn't able to reproduce this on the latest master. Probably fixed as a part of some other PR.

    >>> msg = email.message_from_string('ReplyTo: ""')
    >>> msg
    <email.message.Message object at 0x7f1fc6c82eb0>
    >>> msg['ReplyTo']
    '""'

I think this issue can be closed.

----------
nosy: +maxking

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32179>
_______________________________________


More information about the Python-bugs-list mailing list