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

            Bug ID: 61200
           Summary: URL Encoded Space getting encoded again during rewrite
           Product: Tomcat 8
           Version: 8.0.44
          Hardware: Other
            Status: NEW
          Severity: major
          Priority: P2
         Component: Catalina
          Assignee: dev@tomcat.apache.org
          Reporter: santhanapreeth...@gmail.com
  Target Milestone: ----

Created attachment 35061
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=35061&action=edit
Encoded space test case

After update to tomcat 8.0.44, there are some behaviour differences in URL
Rewrite. 

URL encoded space (+) gets re-encoded as %2B after rewrite and param value gets
modified to + instead of space.

>From the changelog, seems like below change related to encoding seems to be the
cause. 

"Review those places where Tomcat re-encodes a URI or URI component and ensure
that that correct encoding (path differs from query string) is applied and that
the encoding is applied consistently."

Attached test case which passes in 8.0.43 but fails in 8.0.44

-- 
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