cakephp2-php8/lib/Cake/Network
mark_story 1a170e1eec Fix parsing empty header values.
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
2016-02-24 22:25:58 -05:00
..
Email Use more specific datatypes in PHPDoc 2016-01-28 23:10:51 +02:00
Http Fix parsing empty header values. 2016-02-24 22:25:58 -05:00
CakeRequest.php CS fixes 2016-02-15 20:44:27 -06:00
CakeResponse.php Merge pull request #7447 from ravage84/2.7-lib-improvements 2015-09-25 12:14:00 -04:00
CakeSocket.php Merge pull request #7836 from RichieB2B/fix-proxy-auth-via-ssl 2015-12-15 21:56:40 -05:00