]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
mod_substitute: Restrict configuration in .htaccess to
authorRainer Jung <rjung@apache.org>
Thu, 2 Oct 2014 10:22:33 +0000 (10:22 +0000)
committerRainer Jung <rjung@apache.org>
Thu, 2 Oct 2014 10:22:33 +0000 (10:22 +0000)
FileInfo as documented.

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

CHANGES
modules/filters/mod_substitute.c

diff --git a/CHANGES b/CHANGES
index 45838bf27a5f553ca7ff52bbf09998c09102e74a..16acac3323c8a93b410f5d88f3490b4ff0f4f223 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,6 +1,9 @@
                                                          -*- coding: utf-8 -*-
 Changes with Apache 2.5.0
 
+  *) 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.
index 04739a5cbd450e2f5a783cffa2728c466033c02d..9fd9caa5d8319ccd94a4dfe6eaff2550831d5988 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}
 };