httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cove...@apache.org
Subject svn commit: r829657 - /httpd/httpd/trunk/modules/filters/mod_charset_lite.c
Date Sun, 25 Oct 2009 21:28:45 GMT
Author: covener
Date: Sun Oct 25 21:28:45 2009
New Revision: 829657

URL: http://svn.apache.org/viewvc?rev=829657&view=rev
Log:
CharsetOptions NoImplicitAdd makes us fall through to the "unknown option" clause
due to breaking "else if", making NoImplicitAdd unconfigurable.

Modified:
    httpd/httpd/trunk/modules/filters/mod_charset_lite.c

Modified: httpd/httpd/trunk/modules/filters/mod_charset_lite.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/filters/mod_charset_lite.c?rev=829657&r1=829656&r2=829657&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/filters/mod_charset_lite.c (original)
+++ httpd/httpd/trunk/modules/filters/mod_charset_lite.c Sun Oct 25 21:28:45 2009
@@ -181,7 +181,7 @@
     else if (!strcasecmp(flag, "NoImplicitAdd")) {
         dc->implicit_add = IA_NOIMPADD;
     }
-    if (!strcasecmp(flag, "TranslateAllMimeTypes")) {
+    else if (!strcasecmp(flag, "TranslateAllMimeTypes")) {
         dc->force_xlate = FX_FORCE;
     }
     else if (!strcasecmp(flag, "NoTranslateAllMimeTypes")) {



Mime
View raw message