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

Access to the default URL schemes #37

Open
timothymctim opened this issue Feb 1, 2024 · 1 comment
Open

Access to the default URL schemes #37

timothymctim opened this issue Feb 1, 2024 · 1 comment

Comments

@timothymctim
Copy link

timothymctim commented Feb 1, 2024

It would be nice if the Python package could also expose ammonia’s default whitelisted URL schemes. If I understand the code correctly, this could easily be done by adding m.add("ALLOWED_URL_SCHEMES", a.clone_url_schemes())?; to the nh3 function.

@messense
Copy link
Owner

Pull requests are welcome!

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

2 participants