]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
mod_proxy: Don't canonicalize with both nocanon and ProxyPassInterpolateEnv On.
authorYann Ylavic <ylavic@apache.org>
Tue, 7 Sep 2021 10:16:03 +0000 (10:16 +0000)
committerYann Ylavic <ylavic@apache.org>
Tue, 7 Sep 2021 10:16:03 +0000 (10:16 +0000)
commit22895e737d9545985464d8868d7cb05f68df912c
treec4d45e810f1dd6d471a82dfbfed9d36b70670c11
parent03442ed4665cbe261fd327fa2b2cdb1410106736
mod_proxy: Don't canonicalize with both nocanon and ProxyPassInterpolateEnv On.

If nocanon is set, we should match the unparsed_uri against the interpolated
alias (not the ProxyPass'ed one) when verifying the resulting length. Otherwise
we falsely restore the canonicalized URL in case of mismatch.  PR 65549.

Submitted by: Joel Self <joelself gmail.com>

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