]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
mod_proxy: follow up to r1895921: Don't prevent forwarding URIs w/ no hostname.
authorYann Ylavic <ylavic@apache.org>
Wed, 15 Dec 2021 11:35:36 +0000 (11:35 +0000)
committerYann Ylavic <ylavic@apache.org>
Wed, 15 Dec 2021 11:35:36 +0000 (11:35 +0000)
commit15a5cde91626a68425f7f5e215f5a816dbb956f7
treeda0f0f3b3cdcce375a1ed5a380473a09cf58bc53
parente05522deb4ea7702b598d60b04ede12632d4a856
mod_proxy: follow up to r1895921: Don't prevent forwarding URIs w/ no hostname.

r1895921 changed proxy_detect() to disable forward proxying for URIs with no
hostname which is wrong, there might exist a third-party proxy module handling
the "urn:" scheme for instance (thanks Roy for the catch!).

For this to work, we also need to leave the forward proxied URI alone in
ap_proxy_pre_request() with no UDS special case or alike, a proxy module can
then catch (or not) the original URI as expected.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1895981 13f79535-47bb-0310-9956-ffa450edef68
modules/proxy/mod_proxy.c
modules/proxy/mod_proxy.h
modules/proxy/proxy_util.c