From: Sascha Schumann Date: Tue, 7 Aug 2001 08:35:54 +0000 (+0000) Subject: A CRLF at the end of a line is not so wrong. X-Git-Tag: BEFORE_PARAM_PARSING_CHANGE~34 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=64c4456cca9d8248b8239bf199b44532b6607bf7;p=php A CRLF at the end of a line is not so wrong. --- diff --git a/sapi/thttpd/thttpd.c b/sapi/thttpd/thttpd.c index 04be81603b..ddb531a644 100644 --- a/sapi/thttpd/thttpd.c +++ b/sapi/thttpd/thttpd.c @@ -95,7 +95,7 @@ static int sapi_thttpd_send_headers(sapi_headers_struct *sapi_headers TSRMLS_DC) TG(hc)->bytes_sent += len; n++; -#define DEF_CONTENT_TYPE_LINE "Content-Type: text/html" +#define DEF_CONTENT_TYPE_LINE "Content-Type: text/html\r\n" if (SG(sapi_headers).send_default_content_type) { vec[n].iov_base = DEF_CONTENT_TYPE_LINE; vec[n].iov_len = sizeof(DEF_CONTENT_TYPE_LINE) - 1;