]> granicus.if.org Git - python/commit
AddrlistClass.getdomainliteral(): rfc822 requires that the domain
authorBarry Warsaw <barry@python.org>
Mon, 25 Sep 2000 15:08:27 +0000 (15:08 +0000)
committerBarry Warsaw <barry@python.org>
Mon, 25 Sep 2000 15:08:27 +0000 (15:08 +0000)
commit2ea2b1133eb9676454bc680450bf121e1493f7a4
tree3f0e23d48af4ca68dfec2cd3b060bb5bdb524337
parentee76f0b2930414ff697cb5cf00aab263ad1adf20
AddrlistClass.getdomainliteral(): rfc822 requires that the domain
literal be wrapped in square brackets.  This fix replaces the square
brackets that were previously being stripped off.  Closes SF bug
#110621.
Lib/rfc822.py