Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 15 by
jcmathe...@gmail.com: Single and double quotes are being
transformed
http://code.google.com/p/owasp-java-html-sanitizer/issues/detail?id=15
I had hijacked another issue and was asked to create a new one :) After
writing several tests, it's simpler than I though
What steps will reproduce the problem?
1. Pass an input string with a ' or " in it
2. Comes back escaped as ' or "
What is the expected output? What do you see instead?
I expect my input to come back with the ' or " in it.
What version of the product are you using? On what operating system?
Using version r164 on Mac mountain lion
Please provide any additional information below.
The code is quite basic:
HtmlPolicyBuilder builder = new HtmlPolicyBuilder();
PolicyFactory factory = builder.toFactory();
String sanitized = factory.sanitize(input);
return sanitized;
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings