You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by or...@apache.org on 2001/08/15 23:45:51 UTC
cvs commit: httpd-proxy/module-2.0 mod_proxy.c
orlikowski 01/08/15 14:45:51
Modified: module-2.0 mod_proxy.c
Log:
Fix an off-by-one error in an argument to apr_pstrcat.
Submitted by: barbee@veribox.net
Revision Changes Path
1.51 +1 -1 httpd-proxy/module-2.0/mod_proxy.c
Index: mod_proxy.c
===================================================================
RCS file: /home/cvs/httpd-proxy/module-2.0/mod_proxy.c,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -r1.50 -r1.51
--- mod_proxy.c 2001/07/31 16:25:18 1.50
+++ mod_proxy.c 2001/08/15 21:45:51 1.51
@@ -181,7 +181,7 @@
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;