Bug 233254

Summary: mod_proxy not handling percent chars in URLs correctly
Product: Red Hat Enterprise Linux 4 Reporter: Jason Haar <jhaar>
Component: httpdAssignee: Joe Orton <jorton>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 4.4   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: RHSA-2007-0747 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-11-15 15:06:21 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jason Haar 2007-03-21 09:40:29 UTC
Description of problem:

Hi there

We are using httpd as a reverse proxy, and have been hit by the bug referenced
within Apache's bugtracker as

http://issues.apache.org/bugzilla/show_bug.cgi?id=15207
also
http://issues.apache.org/bugzilla/show_bug.cgi?id=34688

Supposedly it was fixed in 2.0.55 back in 2005?

Basically if you are using Apache as a RP, it "double-unescapes"
percent-encodings and ends up with an invalid URL

Version-Release number of selected component (if applicable):

httpd-2.0.52

How reproducible:

always

Steps to Reproduce:
1. set up RP section via ProxyPass/ProxyPassReverse e.g

ProxyPass /test http://other.server/test/

2. download "rp.server/test/hel%20l%20o.txt - works (i.e. backend server 
   response)
3. download rp.srver/test/hel%20l%25o.txt - RP gives 400 error instead of
 passing back to backend server


  
Actual results:


Expected results:


Additional info:

Comment 1 Joe Orton 2007-05-16 13:54:32 UTC
Thanks for the report.

Comment 8 errata-xmlrpc 2007-11-15 15:06:21 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2007-0747.html