From: Yann Ylavic Date: Thu, 1 Aug 2024 16:09:14 +0000 (+0000) Subject: Follow up to r1919620: init path after "proxy:" is skipped. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ad7218959cc573eac5a8da0897665f2f4b088218;p=thirdparty%2Fapache%2Fhttpd.git Follow up to r1919620: init path after "proxy:" is skipped. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1919623 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/proxy/mod_proxy_fcgi.c b/modules/proxy/mod_proxy_fcgi.c index 44327c70e33..9f2fbf34e9c 100644 --- a/modules/proxy/mod_proxy_fcgi.c +++ b/modules/proxy/mod_proxy_fcgi.c @@ -59,7 +59,7 @@ static int proxy_fcgi_canon(request_rec *r, char *url) { char *host, sport[7]; const char *err; - char *path = url, *pc; + char *path, *pc; apr_port_t port, def_port; fcgi_req_config_t *rconf = NULL; const char *pathinfo_type = NULL; @@ -71,6 +71,7 @@ static int proxy_fcgi_canon(request_rec *r, char *url) return DECLINED; } + path = url; port = def_port = ap_proxy_port_of_scheme("fcgi"); ap_log_rerror(APLOG_MARK, APLOG_TRACE1, 0, r,