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:22:24 UTC

svn commit: r1769027 - in /tcl/rivet/branches/2.3: ChangeLog VERSION configure.ac src/apache-2/mod_rivet.c

Author: mxmanghi
Date: Wed Nov  9 23:22:24 2016
New Revision: 1769027

URL: http://svn.apache.org/viewvc?rev=1769027&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.
    * VERSION,configure.ac: version set to 2.3.3


Modified:
    tcl/rivet/branches/2.3/ChangeLog
    tcl/rivet/branches/2.3/VERSION
    tcl/rivet/branches/2.3/configure.ac
    tcl/rivet/branches/2.3/src/apache-2/mod_rivet.c

Modified: tcl/rivet/branches/2.3/ChangeLog
URL: http://svn.apache.org/viewvc/tcl/rivet/branches/2.3/ChangeLog?rev=1769027&r1=1769026&r2=1769027&view=diff
==============================================================================
--- tcl/rivet/branches/2.3/ChangeLog (original)
+++ tcl/rivet/branches/2.3/ChangeLog Wed Nov  9 23:22:24 2016
@@ -1,3 +1,12 @@
+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.
+    * VERSION,configure.ac: version set to 2.3.3
+
 2016-09-21 Massimo Manghi <mx...@apache.org>
     * Changelog: logging release of this artifact as rivet 2.3.2
 

Modified: tcl/rivet/branches/2.3/VERSION
URL: http://svn.apache.org/viewvc/tcl/rivet/branches/2.3/VERSION?rev=1769027&r1=1769026&r2=1769027&view=diff
==============================================================================
--- tcl/rivet/branches/2.3/VERSION (original)
+++ tcl/rivet/branches/2.3/VERSION Wed Nov  9 23:22:24 2016
@@ -1 +1 @@
-2.3.2
+2.3.3

Modified: tcl/rivet/branches/2.3/configure.ac
URL: http://svn.apache.org/viewvc/tcl/rivet/branches/2.3/configure.ac?rev=1769027&r1=1769026&r2=1769027&view=diff
==============================================================================
--- tcl/rivet/branches/2.3/configure.ac (original)
+++ tcl/rivet/branches/2.3/configure.ac Wed Nov  9 23:22:24 2016
@@ -22,7 +22,7 @@ dnl
 # so you can encode the package version directly into the source files.
 #-----------------------------------------------------------------------
 
-AC_INIT([Rivet],[2.3.2])
+AC_INIT([Rivet],[2.3.3])
 TEA_INIT([3.9])
 
 # we are storing here the configure command line, as recursive

Modified: tcl/rivet/branches/2.3/src/apache-2/mod_rivet.c
URL: http://svn.apache.org/viewvc/tcl/rivet/branches/2.3/src/apache-2/mod_rivet.c?rev=1769027&r1=1769026&r2=1769027&view=diff
==============================================================================
--- tcl/rivet/branches/2.3/src/apache-2/mod_rivet.c (original)
+++ tcl/rivet/branches/2.3/src/apache-2/mod_rivet.c Wed Nov  9 23:22:24 2016
@@ -190,10 +190,10 @@ Rivet_CheckType (request_rec *req)
 {
     int 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