]> granicus.if.org Git - apache/commitdiff
ProxyPass wasn't sending the right URL through to the backend server
authorIan Holsman <ianh@apache.org>
Sat, 17 Nov 2001 22:01:32 +0000 (22:01 +0000)
committerIan Holsman <ianh@apache.org>
Sat, 17 Nov 2001 22:01:32 +0000 (22:01 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92021 13f79535-47bb-0310-9956-ffa450edef68

modules/proxy/mod_proxy.c

index 94270aae1f7612ad1d54f897fed487eed7f88f84..adb13c6dbd40ade3fb46116eed879987ac0238ee 100644 (file)
@@ -189,7 +189,7 @@ static int proxy_trans(request_rec *r)
            
        if (len > 0) {
            r->filename = apr_pstrcat(r->pool, "proxy:", ent[i].real,
-                                 (r->uri + len - 1), NULL);
+                                 (r->uri + len ), NULL);
            r->handler = "proxy-server";
            r->proxyreq = PROXYREQ_REVERSE;
            return OK;