mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-23 23:37:18 +00:00
1a170e1eec
Replace the complex and somewhat unfixable regexp based parser for a parser that handles each line individually. Normalize multi-line headers to replace multiple spaces with a single one. Section 4.2 of the HTTP1.1 standard states > Any LWS that occurs between field-content MAY be replaced with > a single SP before interpreting the field value or forwarding the > message downstream. This makes me somewhat confident that we can safely normalize multi-line HTTP header values. Refs #8330 |
||
---|---|---|
.. | ||
BasicAuthentication.php | ||
DigestAuthentication.php | ||
HttpResponse.php | ||
HttpSocket.php | ||
HttpSocketResponse.php |