php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #54137
Patch remove-newlines-from-post-body revision 2011-03-02 13:46 UTC by maurice-php at mertinkat dot net

Patch remove-newlines-from-post-body for Streams related Bug #54137

Patch version 2011-03-02 13:46 UTC

Return to Bug #54137 | Download this patch
Patch Revisions:

Developer: maurice-php@mertinkat.net

--- http_fopen_wrapper.c-5.3.5	2010-11-18 13:10:17.000000000 +0100
+++ http_fopen_wrapper.c	2011-03-02 14:08:55.000000000 +0100
@@ -531,7 +531,6 @@
 		}
 		php_stream_write(stream, "\r\n", sizeof("\r\n")-1);
 		php_stream_write(stream, Z_STRVAL_PP(tmpzval), Z_STRLEN_PP(tmpzval));
-		php_stream_write(stream, "\r\n\r\n", sizeof("\r\n\r\n")-1);
 	} else {
 		php_stream_write(stream, "\r\n", sizeof("\r\n")-1);
 	}
 
PHP Copyright © 2001-2014 The PHP Group
All rights reserved.
Last updated: Fri Apr 25 07:02:14 2014 UTC