Description- Pull in googleurl r107, which includes the new CanonicalizeHostVerbose() function:
http://code.google.com/p/google-url/source/detail?r=107
- Atomically update Chromium to make use of this new function. This allows us to extract better information about IP addresses using fewer, and cleaner, calls to googleurl.
- Also, change a call to CanonicalizeIPAddress() to stay compatible with r107.
The upshot of all this is, Chrome will no longer try to connect to IPv4 addresses with overflow "http://192.168.0.257", or hostnames surrounded by square brackets "http://[google.com]"
BUG=none
TEST={unit_tests,googleurl_unittests,net_unittests} pass for me on Linux.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=19076
Patch Set 1 #
Total comments: 2
Patch Set 2 : '' #Patch Set 3 : Minor tweak; chrome's CanonicalizeHost doesn't distinguish invalid from empty. #Patch Set 4 : '' #Patch Set 5 : '' #Patch Set 6 : This way looks better #Patch Set 7 : Include an invalid IPv4 literal #
Total comments: 5
Patch Set 8 : Address brettw's comments #Patch Set 9 : is_valid -> is_nonempty #
Messages
Total messages: 9 (0 generated)
|