WebClients icon indicating copy to clipboard operation
WebClients copied to clipboard

Add checks to prevent formatting hxxps

Open tacolopo opened this issue 1 year ago • 0 comments

  1. sanitizeUrl.ts: if the url starts with hxxps it will return the url
  2. transformLinks.ts: checks to make sure the url does not start with hxxps
  3. 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.

tacolopo avatar Aug 28 '24 23:08 tacolopo