Merge lp:~jtv/maas/bug-1372944 into lp:~maas-committers/maas/trunk
Proposed by
Jeroen T. Vermeulen
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Jeroen T. Vermeulen | ||||
Approved revision: | no longer in the source branch. | ||||
Merged at revision: | 3192 | ||||
Proposed branch: | lp:~jtv/maas/bug-1372944 | ||||
Merge into: | lp:~maas-committers/maas/trunk | ||||
Diff against target: |
33 lines (+3/-3) 2 files modified
src/provisioningserver/rpc/clusterservice.py (+1/-1) src/provisioningserver/rpc/tests/test_clusterservice.py (+2/-2) |
||||
To merge this branch: | bzr merge lp:~jtv/maas/bug-1372944 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Gavin Panella (community) | Approve | ||
Review via email: mp+237038@code.launchpad.net |
Commit message
Make our monkey patch to support IPv6 URLs in the Twisted web client strip the brackets from an IPv6 host address. It won't have all the information to reconstruct its original URL, but the class seems to be used only for its host and port. They need to be something that the connectTCP/
Description of the change
In other words, the parser used to return the host portion of the URL, but what it should return is the hostname as found in the URL. There is no difference with hostnames or IPv4 addresses, but IPv6 addresses have brackets around them in URLs.
Jeroen
To post a comment you must log in.