diff options
Diffstat (limited to 'tests/security')
-rw-r--r-- | tests/security/redirect_test.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/security/redirect_test.php b/tests/security/redirect_test.php index 21fb103ed1..0631365292 100644 --- a/tests/security/redirect_test.php +++ b/tests/security/redirect_test.php @@ -51,6 +51,9 @@ class phpbb_security_redirect_test extends phpbb_security_test_base array('../index.php', false, false, 'http://localhost/index.php'), array('../index.php', true, false, 'http://localhost/index.php'), array('./index.php', false, false, 'http://localhost/phpBB/index.php'), + array('https://foobar.com\@http://localhost/phpBB', false, false, 'http://localhost/phpBB'), + array('https://foobar.com\@localhost/troll/http://localhost/', false, 'INSECURE_REDIRECT', false), + array('http://localhost.foobar.com\@localhost/troll/http://localhost/', false, 'INSECURE_REDIRECT', false), ); } |