httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 56603] New: Inappropiate ProxyPassReverse match when interpolated URL is empty string
Date Fri, 06 Jun 2014 21:17:14 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=56603

            Bug ID: 56603
           Summary: Inappropiate ProxyPassReverse match when interpolated
                    URL is empty string
           Product: Apache httpd-2
           Version: 2.4.9
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_proxy
          Assignee: bugs@httpd.apache.org
          Reporter: ajprout@hotmail.com

Created attachment 31695
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=31695&action=edit
Patch to fix this bug

When there is a ProxyPassReverse configured to use an interpolated environment
variable for the URL, and that environment variable isn't set for the current
request, ap_proxy_location_reverse_map() will do strncasecmp(, , 0) and match
anything to the empty ProxyPassReverse. The attached patch modifies
ap_proxy_location_reverse_map() to fix this by skipping entries where the URL
to match is a zero length string.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message