WebClients
WebClients copied to clipboard
Add checks to prevent formatting hxxps
- sanitizeUrl.ts: if the url starts with hxxps it will return the url
- transformLinks.ts: checks to make sure the url does not start with hxxps
- url.ts: if the input starts with hxxps it will return it
I tried my best to dig through these files to solve this (https://protonmail.uservoice.com/forums/284483-proton-mail/suggestions/48747251-stop-hyperlinking-hxxps) instead of just complaining about it. Feel free to refactor, reformat, or edit. Thanks for the consideration.