tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From na...@locus.apache.org
Subject cvs commit: jakarta-tomcat/src/native/mod_jk/iis jk_isapi_plugin.c
Date Mon, 11 Dec 2000 21:17:51 GMT
nacho       00/12/11 13:17:49

  Modified:    src/native/mod_jk/iis jk_isapi_plugin.c
  Log:
  Bug #61 http://znutar.cortexity.com/BugRatAdmin/ShowBug/61
  Redirect fails with IE after posting a form to a servlet
  Reported & Solved by Joe Prevo ( joe@prevo.com  )
  
  Revision  Changes    Path
  1.2       +3 -3      jakarta-tomcat/src/native/mod_jk/iis/jk_isapi_plugin.c
  
  Index: jk_isapi_plugin.c
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/native/mod_jk/iis/jk_isapi_plugin.c,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- jk_isapi_plugin.c	2000/08/26 02:03:51	1.1
  +++ jk_isapi_plugin.c	2000/12/11 21:17:47	1.2
  @@ -56,7 +56,7 @@
   /***************************************************************************
    * Description: ISAPI plugin for IIS/PWS                                   *
    * Author:      Gal Shachor <shachor@il.ibm.com>                           *
  - * Version:     $Revision: 1.1 $                                               *
  + * Version:     $Revision: 1.2 $                                               *
    ***************************************************************************/
   
   #include <httpext.h>
  @@ -235,7 +235,7 @@
                   for(i = 0 , len_of_headers = 0 ; i < num_of_headers ; i++) {
                       len_of_headers += strlen(header_names[i]);
                       len_of_headers += strlen(header_values[i]);
  -                    len_of_headers += 3; /* extra for : and crlf */
  +                    len_of_headers += 4; /* extra for colon, space and crlf */
                   }
   
                   len_of_headers += 3;  /* crlf and terminating null char */
  @@ -244,7 +244,7 @@
   
                   for(i = 0 ; i < num_of_headers ; i++) {
                       strcat(headers_str, header_names[i]);
  -                    strcat(headers_str, ":");
  +                    strcat(headers_str, ": ");
                       strcat(headers_str, header_values[i]);
                       strcat(headers_str, crlf);
                   }
  
  
  

Mime
View raw message