Reason #30636 Google Chrome is not an intelligent person's browser: chrome does a search when i want to open a website on a local host or TLD
Expected result: A DNS lookup is performed on "example.pre", and upon successful result the page "http://example.com.pre/"
Closed WONTFIX.
Bug filed in motherfucking 2009. The rot set in nearly a decade ago.
@dredmorbius What are they checking for TLDs whereas I'm accepting any, valid or not?
@dredmorbius Seems reasonable enough, a trailing / makes it resolve as a partial URL, not a search, and the suggestion instantly shows the URL and not DuckDuckGo when I type the /. But I always copy in my http://localhost:8000/ URLs anyway…
@mdhughes@cybre.spacRead the bug comments.
The fix isn't reliable, the behaviour is already inconsistent, editing and resubmitting *an already resolved host with a modified local path exercises the bug*, and if Google wanted, they could run the damned search in fucking parallel.
Peter Fucking Kasting's final comment ices the thread.
@dredmorbius Come on! Sure the logic isn't as trivial as it might seem at first, but it's very doable.
https://github.com/alcinnz/Odysseus/blob/master/src/Traits/autocomplete/imply-http.vala
(that code is the condition on whether to treat the text as a webaddress, search is the catchall fallback)