]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Follow up to r1919620: init path after "proxy:" is skipped.
authorYann Ylavic <ylavic@apache.org>
Thu, 1 Aug 2024 16:09:14 +0000 (16:09 +0000)
committerYann Ylavic <ylavic@apache.org>
Thu, 1 Aug 2024 16:09:14 +0000 (16:09 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1919623 13f79535-47bb-0310-9956-ffa450edef68

modules/proxy/mod_proxy_fcgi.c

index 44327c70e33f7c7d7301fc0ac8ff1e43b28bb8cb..9f2fbf34e9c238b6effb5c5afa29cd18def48576 100644 (file)
@@ -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,