Skip to content
Permalink
Browse files

Clearing referrer more thoroughly.

  • Loading branch information...
markstory committed Sep 19, 2010
1 parent 03d99d4 commit c5a47d4daacc75a95bce9be5a0f1a0ceeb03dd9e
Showing with 2 additions and 0 deletions.
  1. +2 −0 cake/tests/cases/libs/controller/components/auth.test.php
@@ -962,6 +962,8 @@ function testLoginRedirect() {
$backup = $_SERVER['HTTP_REFERER'];
}
$_SERVER['HTTP_REFERER'] = false;
$_ENV['HTTP_REFERER'] = false;
putenv('HTTP_REFERER=');
$this->Controller->Session->write('Auth', array(
'AuthUser' => array('id' => '1', 'username' => 'nate')

0 comments on commit c5a47d4

Please sign in to comment.
You can’t perform that action at this time.