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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update URI schemes #9

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

ShahriarKh
Copy link

@ShahriarKh ShahriarKh commented Oct 17, 2023

Add more conditions to ignore URI schemes like tel: and sms:.
Fixes #8

The list is big, and I just included the ones I think are more frequent:
https://en.wikipedia.org/wiki/List_of_URI_schemes
(maybe we can check if the link is relative, or an absolute one starting with http:// or https:// instead of blacklisting all schemes 馃)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ERR_INVALID_URL type errors on links that contain the tel protocol.
1 participant