1
0
mirror of https://github.com/apache/httpd.git synced 2025-08-07 04:02:58 +03:00

Fix an off-by-one error in an argument to apr_pstrcat.

Submitted by: barbee@veribox.net


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90176 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Victor J. Orlikowski
2001-08-15 21:45:51 +00:00
parent c216c2184a
commit ac17ff1737

View File

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