From: Eric Covener Date: Thu, 21 Feb 2008 18:43:24 +0000 (+0000) Subject: rename mod_charset_lite CharsetOption ForceAllMimeTypes to X-Git-Tag: 2.3.0~952 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=93db24c97ae228394096f3ab386d7c958b57f7ae;p=apache rename mod_charset_lite CharsetOption ForceAllMimeTypes to TranslateAllMimeTypes (only about 18 hours old) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@629915 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/CHANGES b/CHANGES index 7620228f3d..3a88f7eb20 100644 --- a/CHANGES +++ b/CHANGES @@ -2,7 +2,7 @@ Changes with Apache 2.3.0 [ When backported to 2.2.x, remove entry from this file ] - *) mod_charset_lite: Add ForceAllMimeTypes sub-option to + *) mod_charset_lite: Add TranslateAllMimeTypes sub-option to CharsetOptions, allowing the administrator to skip the mimetype checking that precedes translation. PR 44458 [Eric Covener] diff --git a/docs/manual/mod/mod_charset_lite.html.en b/docs/manual/mod/mod_charset_lite.html.en index 6407da62ba..91fb5441f6 100644 --- a/docs/manual/mod/mod_charset_lite.html.en +++ b/docs/manual/mod/mod_charset_lite.html.en @@ -167,10 +167,10 @@ should be specified so that mod_charset_lite doesn't add its filter. -
ForceAllMimeTypes | NoForceAllMimeTypes
+
TranslateAllMimeTypes | NoTranslateAllMimeTypes
Normally, mod_charset_lite will only perform translation on a small subset of possible mimetypes. When the - ForceAllMimeTypes keyord is specified for a given + TranslateAllMimeTypes keyord is specified for a given configuration section, translation is performed without regard for mimetype.
diff --git a/docs/manual/mod/mod_charset_lite.xml b/docs/manual/mod/mod_charset_lite.xml index 4eb4cd53f6..ecbd412ad2 100644 --- a/docs/manual/mod/mod_charset_lite.xml +++ b/docs/manual/mod/mod_charset_lite.xml @@ -194,10 +194,10 @@ should be specified so that mod_charset_lite doesn't add its filter. -
ForceAllMimeTypes | NoForceAllMimeTypes
+
TranslateAllMimeTypes | NoTranslateAllMimeTypes
Normally, mod_charset_lite will only perform translation on a small subset of possible mimetypes. When the - ForceAllMimeTypes keyord is specified for a given + TranslateAllMimeTypes keyord is specified for a given configuration section, translation is performed without regard for mimetype.
diff --git a/modules/filters/mod_charset_lite.c b/modules/filters/mod_charset_lite.c index 2a276e3a62..079876b1d5 100644 --- a/modules/filters/mod_charset_lite.c +++ b/modules/filters/mod_charset_lite.c @@ -180,10 +180,10 @@ static const char *add_charset_options(cmd_parms *cmd, void *in_dc, else if (!strcasecmp(flag, "NoImplicitAdd")) { dc->implicit_add = IA_NOIMPADD; } - if (!strcasecmp(flag, "ForceAllMimeTypes")) { + if (!strcasecmp(flag, "TranslateAllMimeTypes")) { dc->force_xlate = FX_FORCE; } - else if (!strcasecmp(flag, "NoForceAllMimeTypes")) { + else if (!strcasecmp(flag, "NoTranslateAllMimeTypes")) { dc->force_xlate = FX_NOFORCE; } else if (!strncasecmp(flag, "DebugLevel=", 11)) {