summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorYann Ylavic <ylavic@apache.org>2024-07-08 16:34:37 +0200
committerYann Ylavic <ylavic@apache.org>2024-07-08 16:34:37 +0200
commit19c200c59148b902154fb246a1a211016c846aa5 (patch)
tree7008db70050e40a70bc2b8e26f6fb9039e344fd8 /modules
parentmod_proxy: Don't mangle r->filename when ap_proxy_canon_netloc() fails. (diff)
downloadapache2-19c200c59148b902154fb246a1a211016c846aa5.tar.xz
apache2-19c200c59148b902154fb246a1a211016c846aa5.zip
Follow up to r1919023: fix compilation.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1919024 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules')
-rw-r--r--modules/proxy/proxy_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/proxy/proxy_util.c b/modules/proxy/proxy_util.c
index 39fc7010c7..cbc31104c3 100644
--- a/modules/proxy/proxy_util.c
+++ b/modules/proxy/proxy_util.c
@@ -2561,7 +2561,7 @@ PROXY_DECLARE(int) ap_proxy_canon_url(request_rec *r)
}
/* Keep this after fixup_uds_filename() */
- url = ap_pstrdup(r->pool, r->filename + 6);
+ url = apr_pstrdup(r->pool, r->filename + 6);
if ((dconf->interpolate_env == 1) && (r->proxyreq == PROXYREQ_REVERSE)) {
/* create per-request copy of reverse proxy conf,