Skip to content

Commit ddd4a3a

Browse files
committed
Per issue #824. Updated DefaultEncoder.getCanonicalizedURI(URI) javadoc to indicate that the method takes into consideration canonicalization of mixed/multi encoded URLs as specified in ESAPI.props 'allowMixed' and 'allowMultiple' accordingly.
1 parent 952e3b1 commit ddd4a3a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/main/java/org/owasp/esapi/reference/DefaultEncoder.java

+3
Original file line numberDiff line numberDiff line change
@@ -491,6 +491,9 @@ public byte[] decodeFromBase64(String input) throws IOException {
491491
* This will extract each piece of a URI according to parse zone as specified in <a href="https://www.ietf.org/rfc/rfc3986.txt">RFC-3986</a> section 3,
492492
* and it will construct a canonicalized String representing a version of the URI that is safe to
493493
* run regex against.
494+
*
495+
* NOTE: This method will obey the ESAPI.properties configurations for allowing
496+
* Mixed and Multiple Encoding URLs.
494497
*
495498
* @param dirtyUri
496499
* @return Canonicalized URI string.

0 commit comments

Comments
 (0)