diff options
author | Yann Ylavic <ylavic@apache.org> | 2024-07-08 15:59:50 +0200 |
---|---|---|
committer | Yann Ylavic <ylavic@apache.org> | 2024-07-08 15:59:50 +0200 |
commit | 6716ada174ed6bd8a6902164ab0bb2d7089d348f (patch) | |
tree | 251fc86ed4edf4c2e1fa9561597163aa6af6b2d9 /changes-entries | |
parent | Follow up to r1919015: fix compilation. (diff) | |
download | apache2-6716ada174ed6bd8a6902164ab0bb2d7089d348f.tar.xz apache2-6716ada174ed6bd8a6902164ab0bb2d7089d348f.zip |
mod_proxy: Fix canonicalisation and FCGI env (PATH_INFO, SCRIPT_NAME) for
"balancer:" URLs set via SetHandler, also allowing for "unix:"
sockets with BalancerMember(s). PR 69168.
* modules/proxy/proxy_util.h, modules/proxy/proxy_util.c:
Move proxy_interpolate() from mod_proxy.c to ap_proxy_interpolate(),
exported locally only (non public).
Move proxy_fixup() from mod_proxy.c to ap_proxy_canon_url(), exported
locally only too (non public).
Rollback ap_proxy_fixup_uds_filename() to a local fixup_uds_filename()
usable from proxy_util.c only. The public function will be removed in
a following commit.
* modules/proxy/mod_proxy.h:
Note that ap_proxy_fixup_uds_filename() is deprecated.
* modules/proxy/mod_proxy.c:
Just use ap_proxy_canon_url() from proxy_fixup() and proxy_handler()
for SetHandler URLs.
* modules/proxy/mod_proxy_balancer.c:
Do not canonicalize the path from proxy_balancer_canon() anymore but
rather from balancer_fixup() where the balancer URL is rewritten to
the BalancerMember URL.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1919022 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'changes-entries')
-rw-r--r-- | changes-entries/pr69168.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/changes-entries/pr69168.txt b/changes-entries/pr69168.txt new file mode 100644 index 0000000000..c5304ec424 --- /dev/null +++ b/changes-entries/pr69168.txt @@ -0,0 +1,3 @@ + *) mod_proxy: Fix canonicalisation and FCGI env (PATH_INFO, SCRIPT_NAME) for + "balancer:" URLs set via SetHandler, also allowing for "unix:" sockets + with BalancerMember(s). PR 69168. [Yann Ylavic] |