]> granicus.if.org Git - apache/commitdiff
Pardon je, it seems the most obvious solutions are always the easiest
authorWilliam A. Rowe Jr <wrowe@apache.org>
Tue, 6 Aug 2002 20:02:07 +0000 (20:02 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Tue, 6 Aug 2002 20:02:07 +0000 (20:02 +0000)
  to incorporate new bugs.  Solve the 0index.html bad uri bug.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96316 13f79535-47bb-0310-9956-ffa450edef68

server/core.c

index 78f8eab27b5032478b2872479ff4c95cd29194ad..346d785dddbeba05e2a85f3f8ef6f2d2c3b5d631 100644 (file)
@@ -3083,7 +3083,7 @@ AP_DECLARE_NONSTD(int) ap_core_translate(request_rec *r)
          */
         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 @@ AP_DECLARE_NONSTD(int) ap_core_translate(request_rec *r)
          */
         char *path = r->uri;
         while (*path == '/') {
-            ++*path;
+            ++path;
         }
         if (apr_filepath_merge(&r->filename, conf->ap_document_root, path,
                                APR_FILEPATH_TRUENAME