twisted.web.client._URI.fromBytes does not handle ipv6 addresses
Bug #1505748 reported by
LaMont Jones
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Twisted |
Unknown
|
Unknown
|
|||
twisted (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Certainly by 13.2.0-1ubuntu1 (trusty), fromBytes blows up when handed an ipv6 address, because of an assumption that the only valid use of a colon is as part of a port specification. See also bug #1372767.
Patch attached which should fix the issue, though it is against 1:15.2.1-1ubuntu1, and needs a "s/URI/_URI/g" before it will apply to the trusty version.
To post a comment you must log in.
attaching the correct patch