cakephp2-php8/lib/Cake/Test/Case/Network
mark_story 70530135d6 Don't use FORWARDED_HOST when getting referer values.
HTTP_X_FORWARDED_HOST is supposed to be used by proxies to indicate the
original HTTP_HOST value. It has nothing to do with referer values.

Since the HTTP_X_FORWARDED_HOST is intended to replace the HOST header
in proxied setups, add a trustProxy parameter to host() and default it
to false. This maintains existing behavior and allows people to access
the proxied value.

Fixes #2537
2013-12-23 11:32:14 -05:00
..
Email Add coverage for comma in email alias. 2013-11-22 13:14:21 -05:00
Http Removed "PHP 5" from file header DocBlocks 2013-11-13 22:58:39 +01:00
CakeRequestTest.php Don't use FORWARDED_HOST when getting referer values. 2013-12-23 11:32:14 -05:00
CakeResponseTest.php update tests 2013-10-28 02:24:58 +03:30
CakeSocketTest.php Removed "PHP 5" from file header DocBlocks 2013-11-13 22:58:39 +01:00