Issue metadata
Sign in to add a comment
|
Feature request: Suggesting on raw IPv6 addresses (i.e. http://::1/) |
||||||||||||||||||||
Issue descriptionUserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.106 Safari/537.36 Example URL: http://::1/ Steps to reproduce the problem: 1. Enter "http://::1/" into the address bar 2. Hit Enter What is the expected behavior? Tries to connect to my local host using IPv6 What went wrong? Browser performs a google serach for "http://::1/" Did this work before? N/A Chrome version: 51.0.2704.106 Channel: n/a OS Version: Flash Version: Shockwave Flash 22.0 r0
,
Aug 18 2016
You're holding it wrong. Use http://[::1]/. Because ports are also separated by colons, http://::1:80/ could either mean port 80 on ::1, or default port on ::1:80. The braces are needed to disambiguate.
,
Aug 19 2016
Ah, cool, thanks. I was wondering if it was something like that. Maybe a "Did you mean..." box would be nice if the address doesn't resolve and looks like it could've been a numberic IPv6 address without brackets?
,
Aug 19 2016
I'll defer to the omnibox team on whether they want to do that
,
Aug 19 2016
I'm not totally sure why comment 2 mentions :80. It seems like the issue here is simply whether http://::1/ should be a navigation or a search. An underlying question there is whether ::1 should be a navigation or a search. Probably both of these boil down to whether fixup should convert a bare ::1 to [::1]. I'm not familiar enough with IPv6 syntax to answer these questions. I think Brett added bare-bones fixup/support for IPv6 long ago. CCing him.
,
Aug 19 2016
I was explaining why the braces are needed in IPv6 addresses in URLs, with an example. For instance, we could fixup http://::1:8080/ to either http://[::1]:8080/, or http://[::1:8080]/, both of which are valid IPv6 IPs.
,
Aug 19 2016
*Valid IPv6 URLs, rather
,
Aug 19 2016
Yeah, that makes sense, but in the absence of ambiguity around ports, perhaps we can just infer the brackets. (Though I suspect if we do this, fixup may begin having a preference in the cases you describe. And maybe it should? Is one of those two meanings more common? I'd think ::1:8080 usually means [::1:8080]?
,
Aug 19 2016
I think [::1]:8080 would be much more common, actually, though I'm not terribly familiar with the IPv6 space. ::1 is sufficiently magical that I'd think it's a very strong signal. I'm not arguing we shouldn't do any automatic correction in the case of ambiguity, just pointing out there is ambiguity.
,
Jun 19 2017
I think this is a reasonable request with a clear action: make http://::1 be fixed up to http://[::1]/, and the generalization of that (put square brackets []s around the narrowest thing). This will allow the fixed up URL to be suggested and sometimes be default. Probably not particularly important until IPv6 becomes more common. Reassess then?
,
Jun 19 2017
I'd agree that this is low priority.
,
Jun 29 2017
Issue 738127 has been merged into this issue.
,
Jun 29 2017
(Note the bug I duped is a slightly different input example, but same underlying issue.)
,
Jan 9 2018
The NextAction date has arrived: 2018-01-09
,
Jul 2
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue. Sorry for the inconvenience if the bug really should have been left as Available. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Jul 3
IPv6 still not common enough to be worth doing. Reassess next year.
,
Jan 8
The NextAction date has arrived: 2019-01-08 |
|||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||
Comment 1 by sheriffbot@chromium.org
, Aug 18 2016