Created attachment 470418 [details] Screenshot of webkit nightly build showing the address bar defaulting to a search Hello, I'm a developer on GOV.UK, which is the UK Government's primary website. We've been encountering an issue recently where if a user types a URL with the domain "gov.uk" (like "gov.uk/government" or "gov.uk/ucmove") into the address bar, it defaults to a Google search instead of opening the URL. This does not happen with links to "www.gov.uk", for example "www.gov.uk/ucmove" correctly requests the URL (and receives a redirect to https://ucmove.campaign.gov.uk, which is expected). This causes a bit of a problem for us, because departments are in the habit of buying physical advertising (think "banner on the side of a bus") which uses gov.uk/whatever as the short link. When users come to type this in WebKit based browsers, they get a page of search results which may not even include the page the department was advertising (particularly if it's new). One solution would be for us to switchh to advertising www.gov.uk URLs instead, which we will consider. However, being able to use shorter URLs is nice for physical reasons - it leaves more space on the side of the bus for other messaging / images etc. I suspect that the issue here is that gov.uk is on the public suffix list as an ICANN domain, making it an effective top-level domain. Similar .uk domains which are not on the public suffix list (such as parliament.uk) do not seem to suffer from this issue. To reproduce: - Focus the address bar - Type gov.uk - Press escape to clear the context menu - Press enter to submit - Observe that a google search page loads Following the same steps with parliament.uk loads the parliament website, as expected. Would you consider having domains like gov.uk/whatever load URLs directly, instead of being interpretted as searches? Thanks very much, Richard Towers
Thank you for the report! The logic for address bar behavior is in Safari, not in WebKit. Please report this to Apple via Feedback Assistant.
Thanks Alexey - apologies for raising the issue in the wrong place. I've raised it with Apple, as you suggested.
rdar://124998731