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

will not remove <script> #4

Open
rafikalid opened this issue Nov 30, 2017 · 0 comments
Open

will not remove <script> #4

rafikalid opened this issue Nov 30, 2017 · 0 comments

Comments

@rafikalid
Copy link

regular expressions used in code are not properly created
this example is not processed by the filter:
test <script> a < b; c>d</script> final

you could use instead:
/<script[^>]*>.*?<\/script>/img
but do not respond to all cases

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