]> granicus.if.org Git - python/commit
ehlo(): A proper fix for SF bug #498572. RFC 1869 describes ESMTP
authorBarry Warsaw <barry@python.org>
Mon, 15 Apr 2002 20:03:30 +0000 (20:03 +0000)
committerBarry Warsaw <barry@python.org>
Mon, 15 Apr 2002 20:03:30 +0000 (20:03 +0000)
commitbe22ae6def4ff3bfb826a96c1e5b1360b5a7c1e0
treed7125bc13687ad8b0921ac0c38c1254ff480b145
parent8a5a27000099780e8705128001dc370c1555f315
ehlo(): A proper fix for SF bug #498572.  RFC 1869 describes ESMTP
which requires that if there are ehlo parameters returned with an ehlo
keyword (in the response to EHLO), the keyword and parameters must be
delimited by an ASCII space.  Thus responses like

    250-AUTH=LOGIN

should be ignored as non-conformant to the RFC (the `=' isn't allowed
in the ehlo keyword).

This is a bug fix candidate.
Lib/smtplib.py