]> granicus.if.org Git - apache/commitdiff
Merge r1628924 from trunk:
authorJim Jagielski <jim@apache.org>
Mon, 27 Oct 2014 12:44:16 +0000 (12:44 +0000)
committerJim Jagielski <jim@apache.org>
Mon, 27 Oct 2014 12:44:16 +0000 (12:44 +0000)
mod_substitute: Restrict configuration in .htaccess to
FileInfo as documented.

Submitted by: rjung
Reviewed/backported by: jim

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1634524 13f79535-47bb-0310-9956-ffa450edef68

CHANGES
STATUS
modules/filters/mod_substitute.c

diff --git a/CHANGES b/CHANGES
index aaf79ae4feec882041af78ad64b7b5a989bbaaad..d2d23b448a02d474fb0ddbd3a057d76cda3cb642 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -2,6 +2,9 @@
 
 Changes with Apache 2.4.11
 
+  *) mod_substitute: Restrict configuration in .htaccess to
+     FileInfo as documented.  [Rainer Jung]
+
   *) mod_substitute: Make maximum line length configurable.  [Rainer Jung]
 
   *) mod_substitute: Fix line length limitation in case of regexp plus flatten.
diff --git a/STATUS b/STATUS
index 35b236b8ddeb7d4ba19213445edb615aa211f2cc..abe30084fdb7c4ba567803a40f6a7d33aa7a2b45 100644 (file)
--- a/STATUS
+++ b/STATUS
@@ -102,12 +102,6 @@ RELEASE SHOWSTOPPERS:
 PATCHES ACCEPTED TO BACKPORT FROM TRUNK:
   [ start all new proposals below, under PATCHES PROPOSED. ]
 
-   * mod_substitute: Restrict configuration in .htaccess to
-     FileInfo as documented.
-     trunk patch: http://svn.apache.org/r1628924
-     2.4.x patch: trunk works modulo CHANGES
-     +1: rjung, covener, jim
-
    * various: Concat string at compile time when possible.
      trunk patch: http://svn.apache.org/r1626050
      2.4.x patch: trunk works
index 9cebb916305708756e3b303b524e7cdc660c7ec3..c9de4fe949c630aa87496ecfff80d1cdcc4f87c9 100644 (file)
@@ -687,9 +687,9 @@ static void register_hooks(apr_pool_t *pool)
 }
 
 static const command_rec substitute_cmds[] = {
-    AP_INIT_TAKE1("Substitute", set_pattern, NULL, OR_ALL,
+    AP_INIT_TAKE1("Substitute", set_pattern, NULL, OR_FILEINFO,
                   "Pattern to filter the response content (s/foo/bar/[inf])"),
-    AP_INIT_TAKE1("SubstituteMaxLineLength", set_max_line_length, NULL, OR_ALL,
+    AP_INIT_TAKE1("SubstituteMaxLineLength", set_max_line_length, NULL, OR_FILEINFO,
                   "Maximum line length"),
     {NULL}
 };