cakephp2-php8/lib/Cake/Test
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
..
bake_compare/Controller fix the failing test case. 2013-11-20 12:26:03 +01:00
Case Don't use FORWARDED_HOST when getting referer values. 2013-12-23 11:32:14 -05:00
Fixture Merge pull request #2319 from ravage84/php-5-removal 2013-11-14 06:41:31 -08:00
test_app Merge pull request #2350 from tuffz/formatting_app_uses_blocks 2013-12-14 12:37:02 -08:00