]> granicus.if.org Git - apache/commitdiff
Saw this bug several hours ago, but it slipped my mind. We no longer
authorWilliam A. Rowe Jr <wrowe@apache.org>
Mon, 31 Dec 2001 06:47:28 +0000 (06:47 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Mon, 31 Dec 2001 06:47:28 +0000 (06:47 +0000)
  skip over the leading '/' character, since the token_re already strips
  the / delimiters.

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

modules/filters/mod_include.c

index d71c2283efefbdd4ebe130aa57f807ad7e48f185..d08ac001ca4a76717e1ffa28de0d590c5f8b9474 100644 (file)
@@ -2223,11 +2223,11 @@ static int parse_expr(request_rec *r, include_ctx_t *ctx, const char *expr,
                 debug_pos += sprintf (&debug[debug_pos],
                                       "     Re Compare (%s) with /%s/\n",
                                       current->left->token.value,
-                                      &current->right->token.value[1]);
+                                      current->right->token.value);
 #endif
                 current->value =
                     re_check(r, ctx, current->left->token.value,
-                             &current->right->token.value[1]);
+                             current->right->token.value);
             }
             else {
 #ifdef DEBUG_INCLUDE