diff options
author | Yann Ylavic <ylavic@apache.org> | 2024-08-01 13:35:26 +0200 |
---|---|---|
committer | Yann Ylavic <ylavic@apache.org> | 2024-08-01 13:35:26 +0200 |
commit | 2f1f9c5df027e86bf4c3dbdb96c9e52748421c20 (patch) | |
tree | e186b3c9ffbb791eb7091d003f03f5b8d5a276fc /changes-entries | |
parent | Follow-up to r1919587: CMake: Fix type in variable name (MODULES_SYNMBOLS -> ... (diff) | |
download | apache2-2f1f9c5df027e86bf4c3dbdb96c9e52748421c20.tar.xz apache2-2f1f9c5df027e86bf4c3dbdb96c9e52748421c20.zip |
mod_proxy: Fix selection of ProxyPassMatch workers with host/port substitution. PR 69233.
With "ProxyPassMatch ^/([^/]+)/(.*)$ https://$1/$2", ap_proxy_get_worker_ex()
should not consider the length of scheme://host part of the given URL because
of the globbing match on the host part.
Fix it by setting worker->s>is_host_matchable when creating a worker with host
substitution and avoiding the min_match check in worker_matches() in this case.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1919617 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'changes-entries')
-rw-r--r-- | changes-entries/bz69233.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/changes-entries/bz69233.txt b/changes-entries/bz69233.txt new file mode 100644 index 0000000000..9e1e43bfd0 --- /dev/null +++ b/changes-entries/bz69233.txt @@ -0,0 +1,2 @@ + *) mod_proxy: Fix selection of ProxyPassMatch workers with substitution + in the host name or port. PR 69233. [Yann Ylavic]
\ No newline at end of file |