You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2014/06/06 23:17:14 UTC

[Bug 56603] New: Inappropiate ProxyPassReverse match when interpolated URL is empty string

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


[Bug 56603] Inappropiate ProxyPassReverse match when interpolated URL is empty string

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56603

Yann Ylavic <yl...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Yann Ylavic <yl...@gmail.com> ---
Backported to 2.4.11 in r1651094.

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


[Bug 56603] Inappropiate ProxyPassReverse match when interpolated URL is empty string

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56603

Christophe JAILLET <ch...@wanadoo.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |PatchAvailable

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


[Bug 56603] Inappropiate ProxyPassReverse match when interpolated URL is empty string

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56603

Eric Covener <co...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |FixedInTrunk

--- Comment #1 from Eric Covener <co...@gmail.com> ---
Thanks for the report and patch, committed in trunk r1648433 and will propose
for backport

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