chriso/node-validator — Issue #59: Semi-colon insertion
Author: Charuru
Created: 2012-02-12 13:43:42+00:00
State: open

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.