Commit 10b233b1 authored by William A. Rowe Jr's avatar William A. Rowe Jr
Browse files

  Reading commit log messages can be very helpful for noting inconsistent
  comments... no code is hurt in this commit


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91623 13f79535-47bb-0310-9956-ffa450edef68
parent 8d90322a
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -1507,7 +1507,7 @@ static int hook_fixup(request_rec *r)
                r->filename = apr_pstrdup(r->pool, r->filename+12);
            }

            /* the filename has to start with a slash! */
            /* the filename must be an absolute path! */
            if (!ap_os_is_path_absolute(r->pool, r->filename)) {
                return HTTP_BAD_REQUEST;
            }
@@ -1987,8 +1987,8 @@ static int apply_rewrite_rule(request_rec *r, rewriterule_entry *p,
    /*
     *   Again add the previously stripped per-directory location
     *   prefix if the new URI is not a new one for this
     *   location, i.e. if it's not starting with either a slash
     *   or a fully qualified URL scheme.
     *   location, i.e. if it's not an absolute path nor
     *   a fully qualified URL scheme.
     */
    if (prefixstrip && !ap_os_is_path_absolute(r->pool, r->filename)
                    && !is_absolute_uri(r->filename)) {
@@ -2073,8 +2073,8 @@ static int apply_rewrite_rule(request_rec *r, rewriterule_entry *p,
    /*
     *  Now we are sure it is not a fully qualified URL.  But
     *  there is still one special case left: A local rewrite in
     *  per-directory context, i.e. a substitution URL which does
     *  not start with a slash. Here we add again the initially
     *  per-directory context, i.e. a substitution URL which is not
     *  an absolute path. Here we add again the initially
     *  stripped per-directory prefix.
     */
    if (prefixstrip && !ap_os_is_path_absolute(r->pool, r->filename)) {