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

Allow RequireParsableURL method to be applied selectively on tags. #40

Closed
nixypanda opened this issue Apr 25, 2017 · 1 comment
Closed

Comments

@nixypanda
Copy link

Hi, currently it looks like RequireParsableURL cannot be applied to tags selectively.

i.e. something like -> policy.AllowParsabelURL(true).OnElements(<tag>).

I want to allow any url in src attr on img tag and nowhere else. Please update if you think this is a feature worth having.

Thanks.

@nixypanda
Copy link
Author

Unsure if this is really a good idea, so closing this issue.

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