Dr. Edward Morbius ⭕ is a user on mastodon.cloud. You can follow them or interact with them if you have an account anywhere in the fediverse. If you don't, you can sign up here.
Dr. Edward Morbius ⭕ @dredmorbius

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 "example.com.pre/"

Closed WONTFIX.

Bug filed in motherfucking 2009. The rot set in nearly a decade ago.

bugs.chromium.org/p/chromium/i



@dredmorbius Come on! Sure the logic isn't as trivial as it might seem at first, but it's very doable.

github.com/alcinnz/Odysseus/bl

(that code is the condition on whether to treat the text as a webaddress, search is the catchall fallback)

@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.