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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user