From e925d0a202d308f602b93ed36360353c20d8f2e7 Mon Sep 17 00:00:00 2001 From: "William A. Rowe Jr" Date: Tue, 6 Aug 2002 20:02:07 +0000 Subject: [PATCH] Pardon je, it seems the most obvious solutions are always the easiest 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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/core.c b/server/core.c index 78f8eab27b..346d785ddd 100644 --- a/server/core.c +++ b/server/core.c @@ -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 -- 2.50.1