Re: removing http line folding support?
| From: | Michael Wallner | Date: | Wed, 04 Feb 2015 09:04:55 +0000 |
| Subject: | Re: removing http line folding support? | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-81788@lists.php.net to get a copy of this message | ||
On 04/02/15 09:52, Stanislav Malyshev wrote:
> Hi!
>
>> Don't we prevent that already?
>> http://lxr.php.net/xref/PHP_5_6/main/SAPI.c#749
>
> I'm not sure what you meant by "that", but the code you linked to allows
> multi-line headers according to RFC 2616 - this is what comment in line
> 750 means. I propose to remove this (of course, no newline chars will be
> allowed too as they are allowed only to support RFC 2616).
>
Ha, "that" was exaclty what I meant, sorry then, and +1. :)
--
Regards,
Mike