You are viewing a plain text version of this content. The canonical link for it is here.
Posted to site-cvs@tcl.apache.org by mx...@apache.org on 2016/11/09 23:18:24 UTC
svn commit: r1769026 - in /tcl/rivet/trunk: ChangeLog
src/mod_rivet/mod_rivet_common.c
Author: mxmanghi
Date: Wed Nov 9 23:18:23 2016
New Revision: 1769026
URL: http://svn.apache.org/viewvc?rev=1769026&view=rev
Log:
* src/mod_rivet/mod_rivet_common.c: the request_rec
field to be checked in order to determine whether we
are serving the request is 'header' non 'content_type'.
This bug didn't surface because their set to the same
string when a request is handed to the module chain, but
it's been around ever since.
Modified:
tcl/rivet/trunk/ChangeLog
tcl/rivet/trunk/src/mod_rivet/mod_rivet_common.c
Modified: tcl/rivet/trunk/ChangeLog
URL: http://svn.apache.org/viewvc/tcl/rivet/trunk/ChangeLog?rev=1769026&r1=1769025&r2=1769026&view=diff
==============================================================================
--- tcl/rivet/trunk/ChangeLog (original)
+++ tcl/rivet/trunk/ChangeLog Wed Nov 9 23:18:23 2016
@@ -1,3 +1,11 @@
+2016-11-09 Massimo Manghi <mx...@apache.org>
+ * src/mod_rivet/mod_rivet_common.c: the request_rec
+ field to be checked in order to determine whether we
+ are serving the request is 'header' non 'content_type'.
+ This bug didn't surface because their set to the same
+ string when a request is handed to the module chain, but
+ it's been around ever since.
+
2016-11-08 Massimo Manghi <mx...@apache.org>
* src/mod_rivet_ng/apache_config.c: fixed conf
merge that didn't assign the correct cache size
Modified: tcl/rivet/trunk/src/mod_rivet/mod_rivet_common.c
URL: http://svn.apache.org/viewvc/tcl/rivet/trunk/src/mod_rivet/mod_rivet_common.c?rev=1769026&r1=1769025&r2=1769026&view=diff
==============================================================================
--- tcl/rivet/trunk/src/mod_rivet/mod_rivet_common.c (original)
+++ tcl/rivet/trunk/src/mod_rivet/mod_rivet_common.c Wed Nov 9 23:18:23 2016
@@ -734,10 +734,10 @@ Rivet_CheckType (request_rec *req)
{
rivet_req_ctype ctype = CTYPE_NOT_HANDLED;
- if ( req->content_type != NULL ) {
- if( STRNEQU( req->content_type, RIVET_TEMPLATE_CTYPE) ) {
+ if ( req->handler != NULL ) {
+ if( STRNEQU( req->handler, RIVET_TEMPLATE_CTYPE) ) {
ctype = RIVET_TEMPLATE;
- } else if( STRNEQU( req->content_type, RIVET_TCLFILE_CTYPE) ) {
+ } else if( STRNEQU( req->handler, RIVET_TCLFILE_CTYPE) ) {
ctype = RIVET_TCLFILE;
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: site-cvs-unsubscribe@tcl.apache.org
For additional commands, e-mail: site-cvs-help@tcl.apache.org