summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2011-05-29 09:23:08 +0000
committerIlia Alshanetsky <iliaa@php.net>2011-05-29 09:23:08 +0000
commitef74038d1d681cce8b49e5d15897fc9abfeca88e (patch)
treef7a3498b440d1ded8db0c70759c45750c7a0c780 /ext
parent6ff2f7040ef8c2295bf6531e5bc34773ad6af154 (diff)
downloadphp-git-ef74038d1d681cce8b49e5d15897fc9abfeca88e.tar.gz
Fixed bug #54137 (file_get_contents POST request sends additional line break).
Diffstat (limited to 'ext')
-rw-r--r--ext/standard/http_fopen_wrapper.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/ext/standard/http_fopen_wrapper.c b/ext/standard/http_fopen_wrapper.c
index 7a930fd7ab..8769a3d296 100644
--- a/ext/standard/http_fopen_wrapper.c
+++ b/ext/standard/http_fopen_wrapper.c
@@ -631,7 +631,6 @@ finish:
}
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);
}