Re: removing http line folding support?
| From: | Stanislav Malyshev | Date: | Wed, 04 Feb 2015 08:52:57 +0000 |
| Subject: | Re: removing http line folding support? | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-81783@lists.php.net to get a copy of this message | ||
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).
--
Stas Malyshev
smalyshev@gmail.com