Chromium Code Reviews
Descriptionurl_parse: Segment partially-typed IPv6 literals.
In Chromium, when a user is typing an IPv6 literal into the address bar, the
autocomplete system goes nuts, trying to grab a port from the end of the
address before it's complete.
Fix this by parsing unterminated IPv6 literals as if there were no port number.
These partial addresses will not survive canonicalization, but they keep the
autocompleter running smoothly as the address is typed.
Also, fix some minor lint warnings elsewhere in url_parse.cc
Patch Set 1 #Patch Set 2 : '' #
Total comments: 1
Patch Set 3 : '' #
Total comments: 2
Patch Set 4 : '' #Messages
Total messages: 9 (0 generated)
|