summaryrefslogtreecommitdiff
path: root/Misc/NEWS.d/next/Library/2021-03-10-14-07-44.bpo-27820.Wwdy-r.rst
blob: 7f1014d723b6abc0b9dcc44243dbd32fe0b86479 (plain)
1
2
3
4
5
6
7
8
Fixed long-standing bug of smtplib.SMTP where doing AUTH LOGIN with
initial_response_ok=False will fail.

The cause is that SMTP.auth_login _always_ returns a password if provided
with a challenge string, thus non-compliant with the standard for AUTH
LOGIN.

Also fixes bug with the test for smtpd.