]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
mod_rewrite, mod_proxy: mod_proxy to cononicalize rewritten [P] URLs. PR 69235.
authorYann Ylavic <ylavic@apache.org>
Wed, 11 Sep 2024 15:30:08 +0000 (15:30 +0000)
committerYann Ylavic <ylavic@apache.org>
Wed, 11 Sep 2024 15:30:08 +0000 (15:30 +0000)
commitc9dc4bb61befa4f3772de4aec0b892e728b94145
tree6444e3acec662cd397a7510d6087387ab1ddc954
parenta8be4c58f6a989e2a112c6981679d296438978ad
mod_rewrite, mod_proxy: mod_proxy to cononicalize rewritten [P] URLs. PR 69235.

When mod_rewrite sets a "proxy:" URL with [P], it should be canonicalized by
mod_proxy still, notably to handle any "unix:" local socket part.

To avoid double encoding in perdir context, a follow up commit should remove the
ap_escape_uri() done in mod_rewrite since it's now on mod_proxy to canonicalize,
per PR 69260.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1920570 13f79535-47bb-0310-9956-ffa450edef68
changes-entries/pr69235.txt [new file with mode: 0644]
modules/mappers/mod_rewrite.c
modules/proxy/mod_proxy.c