Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add checks to prevent formatting hxxps #405

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Aug 28, 2024

  1. Add checks to prevent formatting hxxps

    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.
    tacolopo committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    276cc25 View commit details
    Browse the repository at this point in the history