httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject cvs commit: httpd-2.0/server core.c
Date Tue, 06 Aug 2002 20:02:07 GMT
wrowe       2002/08/06 13:02:07

  Modified:    server   core.c
  Log:
    Pardon je, it seems the most obvious solutions are always the easiest
    to incorporate new bugs.  Solve the 0index.html bad uri bug.
  
  Revision  Changes    Path
  1.198     +2 -2      httpd-2.0/server/core.c
  
  Index: core.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/core.c,v
  retrieving revision 1.197
  retrieving revision 1.198
  diff -u -r1.197 -r1.198
  --- core.c	6 Aug 2002 16:27:36 -0000	1.197
  +++ core.c	6 Aug 2002 20:02:07 -0000	1.198
  @@ -3083,7 +3083,7 @@
            */
           char *path = r->uri + r->server->pathlen;
           while (*path == '/') {
  -            ++*path;
  +            ++path;
           }
           if (apr_filepath_merge(&r->filename, conf->ap_document_root, path,
                                  APR_FILEPATH_TRUENAME
  @@ -3104,7 +3104,7 @@
            */
           char *path = r->uri;
           while (*path == '/') {
  -            ++*path;
  +            ++path;
           }
           if (apr_filepath_merge(&r->filename, conf->ap_document_root, path,
                                  APR_FILEPATH_TRUENAME
  
  
  

Mime
View raw message