nacho 00/12/11 13:18:26 Modified: src/native/iis Tag: tomcat_32 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 ( [EMAIL PROTECTED] ) Revision Changes Path No revision No revision 1.5.2.1 +3 -3 jakarta-tomcat/src/native/iis/Attic/jk_isapi_plugin.c Index: jk_isapi_plugin.c =================================================================== RCS file: /home/cvs/jakarta-tomcat/src/native/iis/Attic/jk_isapi_plugin.c,v retrieving revision 1.5 retrieving revision 1.5.2.1 diff -u -r1.5 -r1.5.2.1 --- jk_isapi_plugin.c 2000/06/28 08:03:44 1.5 +++ jk_isapi_plugin.c 2000/12/11 21:18:23 1.5.2.1 @@ -56,7 +56,7 @@ /*************************************************************************** * Description: ISAPI plugin for IIS/PWS * * Author: Gal Shachor <[EMAIL PROTECTED]> * - * Version: $Revision: 1.5 $ * + * Version: $Revision: 1.5.2.1 $ * ***************************************************************************/ #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); }