]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
PR54223: 2.4 generates AH00554 when Include points to a directory with no wildcard.
authorEric Covener <covener@apache.org>
Thu, 29 Nov 2012 01:34:19 +0000 (01:34 +0000)
committerEric Covener <covener@apache.org>
Thu, 29 Nov 2012 01:34:19 +0000 (01:34 +0000)
r931435 refactored ap_process_resource_config() so it didn't read through
directories, but also changed a path non-fnmatch directories are passed
through to call ap_process_resource_config().

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

CHANGES
server/config.c

diff --git a/CHANGES b/CHANGES
index 3522152c0b374d9c5d404163b6272bd3b55daa6c..0b4b7a95ff0ac955128e280c61634a7afc807353 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,6 +1,9 @@
                                                          -*- coding: utf-8 -*-
 Changes with Apache 2.5.0
 
+  *) core: Don't fail at startup with AH00554 when Include points to 
+     a directory without any wildcard character. [Eric Covener]
+
   *) core: Fail startup if the argument to ServerTokens is unrecognized.
      [Jackie Zhang  <jackie.qq.zhang gmail.com>]
 
index ffc66948700a4704d0c73b8e729b5a58a060ce35..b8b5033aff4477eb6db84a8e4e860bdef874f435 100644 (file)
@@ -2025,7 +2025,7 @@ AP_DECLARE(const char *) ap_process_fnmatch_configs(server_rec *s,
     }
 
     if (!apr_fnmatch_test(fname)) {
-        return ap_process_resource_config(s, fname, conftree, p, ptemp);
+        return process_resource_config_nofnmatch(s, fname, conftree, p, ptemp, 0, optional);
     }
     else {
         apr_status_t status;