tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 61200] New: URL Encoded Space getting encoded again during rewrite
Date Mon, 19 Jun 2017 10:11:23 GMT
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: santhanapreethi28@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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message