Closed
Description
The following input
/test/?param1=valueOne¶m2=valueTwo
will be sanitized to:
/test/?param1=valueOne¶m2=valueTwo
but should be sanitized to
/test/?param1=valueOne&param2=valueTwo
The following code is used:
private final PolicyFactory URL_POLICY = new HtmlPolicyBuilder()
.toFactory()
.and(Sanitizers.LINKS);
URL_POLICY.sanitize("/test/?param1=valueOne¶m2=valueTwo")
Metadata
Metadata
Assignees
Labels
No labels