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

URL schemes should probably be globally whitelisted #6

Open
liquidsunshine opened this issue Aug 8, 2015 · 0 comments
Open

URL schemes should probably be globally whitelisted #6

liquidsunshine opened this issue Aug 8, 2015 · 0 comments

Comments

@liquidsunshine
Copy link
Contributor

URLs should probably be ignored altogether if they are a scheme we don't want to deal with (e.g. tel, javascript, etc.).

So rather than even putting them in to_visit in the first place, just throw them away.

Also, it probably makes sense to just have a whitelist that we can check each URL against, rather than a complex conditional tree.

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

No branches or pull requests

1 participant