Comment by throwaway150
Comment by throwaway150 2 days ago
> You don't have a choice pasting links into some apps. They may strip out query and hash components, percent encode, force URL shortener services, etc.
If an app is mangling the URL by stripping the query and hash components, then it is breaking URLs and you have a bigger problem than worrying about URLs being logged. Stop using such apps immediately and report the bugs to the app developers.
To my original point, if those changes to the URL cause the browser to not parse the hash component then it will be sent to the server and get logged.
The idea is nice, but unreliable. The original intent was simply to link a section of a page and it should fail gracefully (and it does when used as intended).