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

            Bug ID: 64470
           Summary: ALLOW_ENCODED_SLASH property doesn't work with 9.0.35
                    anymore
           Product: Tomcat 9
           Version: unspecified
          Hardware: PC
            Status: NEW
          Severity: regression
          Priority: P2
         Component: Connectors
          Assignee: dev@tomcat.apache.org
          Reporter: morten.rie...@gmail.com
  Target Milestone: -----

Hi,

I'm using spring with tomcat 9.0.34 and have enabled url encoded parameters
using the property:

System.setProperty("org.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH",
"true");

When updating to tomcat 9.0.35 I receive a 400 Bad Request when using url
encoded parameters. If I create a new connector and set the solidusHandling to
passthrough or decode it works again:

connector.setEncodedSolidusHandling(EncodedSolidusHandling.PASS_THROUGH.getValue());

This feels like a regression to me as it worked with tomcat 9.0.34 without
setting setEncodedSolidusHandling to some value.

Regards
Morten

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to