httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rj...@apache.org
Subject svn commit: r1414202 - /httpd/mod_mbox/trunk/module-2.0/mod_mbox_cte.c
Date Tue, 27 Nov 2012 14:20:46 GMT
Author: rjung
Date: Tue Nov 27 14:20:45 2012
New Revision: 1414202

URL: http://svn.apache.org/viewvc?rev=1414202&view=rev
Log:
Allow upper case as well.

Modified:
    httpd/mod_mbox/trunk/module-2.0/mod_mbox_cte.c

Modified: httpd/mod_mbox/trunk/module-2.0/mod_mbox_cte.c
URL: http://svn.apache.org/viewvc/httpd/mod_mbox/trunk/module-2.0/mod_mbox_cte.c?rev=1414202&r1=1414201&r2=1414202&view=diff
==============================================================================
--- httpd/mod_mbox/trunk/module-2.0/mod_mbox_cte.c (original)
+++ httpd/mod_mbox/trunk/module-2.0/mod_mbox_cte.c Tue Nov 27 14:20:45 2012
@@ -257,9 +257,9 @@ apr_status_t mbox_cte_convert_to_utf8(ap
     if (len <= 0)
         return APR_SUCCESS;
     /* Special case "utf8": it is often unknown (no alias) */
-    if (!strcmp(charset, "utf8")) {
+    if (!strcmp(charset, "utf8") || !strcmp(charset, "UTF8")) {
         ap_log_error(APLOG_MARK, APLOG_TRACE7, 0, ap_server_conf,
-                     "Shortcut for convset 'utf8'");
+                     "Identity shortcut for convset '%s'", charset);
         ap_varbuf_strmemcat(vb, src, len);
         return APR_SUCCESS;
     }



Mime
View raw message