From: William A. Rowe Jr Date: Tue, 6 Aug 2002 20:02:07 +0000 (+0000) Subject: Pardon je, it seems the most obvious solutions are always the easiest X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c3ee393ef325004a585e834d8a918d1f579df4ea;p=apache 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 --- 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