cakephp2-php8/lib/Cake/Network/Http
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
..
BasicAuthentication.php Replacing self with static due to PHP5.3+. Following #7040. 2015-07-21 10:22:53 +02:00
DigestAuthentication.php Replacing self with static due to PHP5.3+. Following #7040. 2015-07-21 10:22:53 +02:00
HttpResponse.php Update all @deprecated annotations 2014-09-02 17:03:22 +02:00
HttpSocket.php Fix proxy authentication when SSL is used 2015-12-11 14:44:46 +01:00
HttpSocketResponse.php Fix parsing empty header values. 2016-02-24 22:25:58 -05:00