]> granicus.if.org Git - apache/commitdiff
mod_substitute: Fix configuraton merge order.
authorNick Kew <niq@apache.org>
Thu, 11 Jun 2015 14:22:21 +0000 (14:22 +0000)
committerNick Kew <niq@apache.org>
Thu, 11 Jun 2015 14:22:21 +0000 (14:22 +0000)
PR 57641 [Marc.Stern]

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

CHANGES
modules/filters/mod_substitute.c

diff --git a/CHANGES b/CHANGES
index 5361e50fbede3ac98b2f6e9e28224aa6a815760c..2067dfa7d0fd42a0d5f866fae684fa8fb701564b 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,6 +1,9 @@
                                                          -*- coding: utf-8 -*-
 Changes with Apache 2.5.0
 
+  *) mod_substitute: Fix configuraton merge order.
+     PR 57641 [<Marc.Stern approach.be>]
+
   *) core: Limit accepted chunk-size to 2^63-1 and be strict about chunk-ext
      authorized characters.  [Yann Ylavic]
 
index 984249a2cf03f5341940f69128ddcaefd24487e9..22f75dce56e035980146a4eac82033d2249317e9 100644 (file)
@@ -84,8 +84,8 @@ static void *merge_substitute_dcfg(apr_pool_t *p, void *basev, void *overv)
     subst_dir_conf *base = (subst_dir_conf *) basev;
     subst_dir_conf *over = (subst_dir_conf *) overv;
 
-    a->patterns = apr_array_append(p, over->patterns,
-                                                  base->patterns);
+    a->patterns = apr_array_append(p, base->patterns,
+                                                  over->patterns);
     a->max_line_length = over->max_line_length_set ?
                          over->max_line_length : base->max_line_length;
     a->max_line_length_set = over->max_line_length_set ?