From: Rainer Jung Date: Thu, 2 Oct 2014 10:22:33 +0000 (+0000) Subject: mod_substitute: Restrict configuration in .htaccess to X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=69c47c49be33ec816ae8341f747cdf36cee32be3;p=thirdparty%2Fapache%2Fhttpd.git mod_substitute: Restrict configuration in .htaccess to FileInfo as documented. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1628924 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/CHANGES b/CHANGES index 45838bf27a5..16acac3323c 100644 --- 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. diff --git a/modules/filters/mod_substitute.c b/modules/filters/mod_substitute.c index 04739a5cbd4..9fd9caa5d83 100644 --- a/modules/filters/mod_substitute.c +++ b/modules/filters/mod_substitute.c @@ -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} };