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

Semi-colon insertion #59

Closed
Charuru opened this issue Feb 12, 2012 · 0 comments
Closed

Semi-colon insertion #59

Charuru opened this issue Feb 12, 2012 · 0 comments

Comments

@Charuru
Copy link

Charuru commented Feb 12, 2012

A string like:

sanitize("Bob&&Alice" ).xss();

gets a semicolon inserted and turns into "Bob&&Alice;".

It's just a string and not javascript. How do I prevent this? Thanks.

@chriso chriso closed this as completed in 9bae658 Feb 24, 2012
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