tranco-list icon indicating copy to clipboard operation
tranco-list copied to clipboard

Canonical capitalisation of queried websites

Open GreenReaper opened this issue 2 years ago • 0 comments

The query interface does not enforce what appears to be the canonical lowercase form for domains entered into it. Therefore, for example, Inkbunny.net will result in no result, but inkbunny.net does - and the same with YouTube.com, etc. This is unexpected, and unfortunate as mobile autocorrect may result in the capitalised form being used even if the user types it in lowercase.

I'd expect any string entered to be transformed into its lowercase form for query, just as they are when checking for validity for registration. It should probably be displayed as such on the graph, too, although this might cause some confusion for Floß.com -> floss.com

I'm not sure the code handling the front-end is in this repo. Regardless, I figure this is the best place for it since the about page suggests it is for the website.

GreenReaper avatar Dec 28 '21 16:12 GreenReaper