httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From orlikow...@apache.org
Subject cvs commit: httpd-proxy/module-2.0 mod_proxy.c
Date Wed, 15 Aug 2001 21:45:51 GMT
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;
  
  
  

Mime
View raw message