• Brad Fitzpatrick's avatar
    net/smtp: allow PLAIN auth when advertised · ca24f9ec
    Brad Fitzpatrick authored
    The smtp package originally allowed PLAIN whenever, but then
    the TLS check was added for paranoia, but it's too paranoid:
    it prevents using PLAIN auth even from localhost to localhost
    when the server advertises PLAIN support.
    
    This CL also permits the client to send PLAIN if the server
    advertises it.
    
    Fixes #5184
    
    R=golang-dev, r
    CC=golang-dev
    https://golang.org/cl/8279043
    ca24f9ec
Name
Last commit
Last update
api Loading commit data...
doc Loading commit data...
include Loading commit data...
lib Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.hgignore Loading commit data...
.hgtags Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...