Message207053
Since smtplib.quoteaddr() uses email.utils.parseaddr(), and the patch for issue 11783 fixes email.utils.parseaddr(), that patch will hopefully solve this issue as well (though a test case wouldn't hurt for sure).
What I had not realised is that hostnames are also used elsewhere, in particular in the ehlo() and helo() but also in connect(). Do you consider that a separate issue or part of this issue?
Are there other places where you think a fix is needed?
I may be able to create a patch, though bear with me: I never checked out the source for Python or the standard library (other than installing point releases through my package manager). |
|
Date |
User |
Action |
Args |
2013-12-28 20:44:17 | macfreek | set | recipients:
+ macfreek, barry, r.david.murray |
2013-12-28 20:44:17 | macfreek | set | messageid: <1388263457.72.0.596022822689.issue20083@psf.upfronthosting.co.za> |
2013-12-28 20:44:17 | macfreek | link | issue20083 messages |
2013-12-28 20:44:17 | macfreek | create | |
|