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

safe-methods: pass "pointed" methods? #1738

Open
akimd opened this issue Nov 9, 2022 · 1 comment
Open

safe-methods: pass "pointed" methods? #1738

akimd opened this issue Nov 9, 2022 · 1 comment

Comments

@akimd
Copy link

akimd commented Nov 9, 2022

Hi,

I'm using Sanitize.fragment(str) to sanitize, but --safe-methods=Sanitize.fragment does not work, I have to decay this into --safe-methods=fragment. But I feel less secure this way.
It would be nice to have richer means to specify the safe methods.

Cheers!

@presidentbeef
Copy link
Owner

🤔 I think this would not be too hard to support.

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

No branches or pull requests

2 participants