https://bz.apache.org/bugzilla/show_bug.cgi?id=64470

Remy Maucherat <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |All

--- Comment #1 from Remy Maucherat <[email protected]> ---
I thought 9 had kept the system property, but that doesn't seem to be the case
in the code path that is actually used. You should plan to migrate to the new
option though, DECODE corresponds to the old behavior when the system property
was set to true.

Most likely this patch will restore support for the system property, will see
if it's ok to add it back:
--- a/java/org/apache/tomcat/util/buf/UDecoder.java
+++ b/java/org/apache/tomcat/util/buf/UDecoder.java
@@ -140,7 +140,7 @@

                 j+=2;
                 int res=x2c( b1, b2 );
-                if (res == '/') {
+                if (res == '/' && !ALLOW_ENCODED_SLASH) {
                     switch (encodedSolidusHandling) {
                     case DECODE: {
                         buff[idx]=(byte)res;

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to