Discussed in #823
Originally posted by krog78 January 19, 2024
Hi,
DefaultEncoder / getCanonicalizedURI returns mix encoding for HTML special characters in query string (and does not seem to canonicalize the parameter value despite the fact it is mentionned):
|
//In the case of a uri query, we need to break up and canonicalize the internal parts of the query. |
And the canonicalize is applied to scheme, host, port and also UriSegment.SCHEMSPECIFICPART, is it really relevant?
Thanks,
Regards,
Sylvain
Discussed in #823
Originally posted by krog78 January 19, 2024
Hi,
DefaultEncoder / getCanonicalizedURI returns mix encoding for HTML special characters in query string (and does not seem to canonicalize the parameter value despite the fact it is mentionned):
esapi-java-legacy/src/main/java/org/owasp/esapi/reference/DefaultEncoder.java
Line 573 in 2136292
And the canonicalize is applied to scheme, host, port and also UriSegment.SCHEMSPECIFICPART, is it really relevant?
Thanks,
Regards,
Sylvain