Return-Path: Delivered-To: apmail-httpd-cvs-archive@www.apache.org Received: (qmail 13662 invoked from network); 25 Oct 2009 22:06:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 25 Oct 2009 22:06:42 -0000 Received: (qmail 15265 invoked by uid 500); 25 Oct 2009 22:06:42 -0000 Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 15171 invoked by uid 500); 25 Oct 2009 22:06:42 -0000 Mailing-List: contact cvs-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list cvs@httpd.apache.org Received: (qmail 15162 invoked by uid 99); 25 Oct 2009 22:06:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 25 Oct 2009 22:06:42 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00 X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 25 Oct 2009 22:06:39 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 159482388897; Sun, 25 Oct 2009 22:06:19 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r829664 - in /httpd/httpd/trunk: CHANGES docs/manual/mod/mod_charset_lite.html.en docs/manual/mod/mod_charset_lite.xml modules/filters/mod_charset_lite.c Date: Sun, 25 Oct 2009 22:06:18 -0000 To: cvs@httpd.apache.org From: covener@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20091025220619.159482388897@eris.apache.org> Author: covener Date: Sun Oct 25 22:06:18 2009 New Revision: 829664 URL: http://svn.apache.org/viewvc?rev=829664&view=rev Log: CharsetOptions NoImplicitAdd wasn't referenced during insert_filter callback. Doc: Correct defaults, charset_lite inserts itself by as soon as you tell it about input and output character sets. Modified: httpd/httpd/trunk/CHANGES httpd/httpd/trunk/docs/manual/mod/mod_charset_lite.html.en httpd/httpd/trunk/docs/manual/mod/mod_charset_lite.xml httpd/httpd/trunk/modules/filters/mod_charset_lite.c Modified: httpd/httpd/trunk/CHANGES URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/CHANGES?rev=829664&r1=829663&r2=829664&view=diff ============================================================================== --- httpd/httpd/trunk/CHANGES [utf-8] (original) +++ httpd/httpd/trunk/CHANGES [utf-8] Sun Oct 25 22:06:18 2009 @@ -10,6 +10,9 @@ mod_proxy_ftp: NULL pointer dereference on error paths. [Stefan Fritsch , Joe Orton] + *) mod_charset_lite: Honor 'CharsetOptions NoImplicitAdd'. + [Eric Covener] + *) mod_ssl: Add support for OCSP Stapling. PR 43822. [Dr Stephen Henson ] Modified: httpd/httpd/trunk/docs/manual/mod/mod_charset_lite.html.en URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/mod_charset_lite.html.en?rev=829664&r1=829663&r2=829664&view=diff ============================================================================== --- httpd/httpd/trunk/docs/manual/mod/mod_charset_lite.html.en (original) +++ httpd/httpd/trunk/docs/manual/mod/mod_charset_lite.html.en Sun Oct 25 22:06:18 2009 @@ -126,7 +126,7 @@ - + Modified: httpd/httpd/trunk/docs/manual/mod/mod_charset_lite.xml URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/mod_charset_lite.xml?rev=829664&r1=829663&r2=829664&view=diff ============================================================================== --- httpd/httpd/trunk/docs/manual/mod/mod_charset_lite.xml (original) +++ httpd/httpd/trunk/docs/manual/mod/mod_charset_lite.xml Sun Oct 25 22:06:18 2009 @@ -150,7 +150,7 @@ CharsetOptionsConfigures charset translation behaviorCharsetOptions option [option] ... -CharsetOptions DebugLevel=0 NoImplicitAdd +CharsetOptions DebugLevel=0 ImplicitAddserver config virtual hostdirectory .htaccess 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=829664&r1=829663&r2=829664&view=diff ============================================================================== --- httpd/httpd/trunk/modules/filters/mod_charset_lite.c (original) +++ httpd/httpd/trunk/modules/filters/mod_charset_lite.c Sun Oct 25 22:06:18 2009 @@ -337,6 +337,15 @@ charset_dir_t *dc = ap_get_module_config(r->per_dir_config, &charset_lite_module); + if (dc && (dc->implicit_add == IA_NOIMPADD)) { + if (dc->debug >= DBGLVL_GORY) { + ap_log_rerror(APLOG_MARK, APLOG_DEBUG, 0, r, + "xlate output filter not added implicitly because " + "CharsetOptions included 'NoImplicitAdd'"); + } + return; + } + if (reqinfo) { if (reqinfo->output_ctx && !configured_on_output(r, XLATEOUT_FILTER_NAME)) { ap_add_output_filter(XLATEOUT_FILTER_NAME, reqinfo->output_ctx, r,
Description:Configures charset translation behavior
Syntax:CharsetOptions option [option] ...
Default:CharsetOptions DebugLevel=0 NoImplicitAdd
Default:CharsetOptions DebugLevel=0 ImplicitAdd
Context:server config, virtual host, directory, .htaccess
Override:FileInfo
Status:Extension