cakephp2-php8/lib/Cake/Test/Case/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 Change names 2015-10-06 10:10:34 +02:00
Http Fix parsing empty header values. 2016-02-24 22:25:58 -05:00
CakeRequestTest.php CS fixes 2016-02-15 20:44:27 -06:00
CakeResponseTest.php Various improvements to the CakePHP test files 2015-09-25 17:22:00 +02:00
CakeSocketTest.php Fixed issue #7579 on the 2.7 branch 2015-12-02 10:24:16 +11:00