Re:Google adds experimental setting to hide full URLs in Chr...
by Digit-Al on Monday June 15, 2020 @08:19AM
(#23526528)
Well, whilst that is a nice idea I can't see it happening anytime soon. Attempting to work out if a part of a URL represents a user name seems like a bit if an impossible task to me. I guess you could encode rules for specific well known sites but I doubt you could ever create a general solution, and if a site changed its URL you would become unstuck until you rolled out a fix.
For example if I were to go to something like https://raw.githubusercontent.com/<user>/<proj>/<path> or
the most relevant parts of the url as far as security/trust is concerned is the domain githubusercontent and <user> not the raw subdomain