1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-08 17:56:52 +02:00

Merge branch 'ticket/security-180' into ticket/security-180-asc

Conflicts:
	tests/security/redirect_test.php
This commit is contained in:
Marc Alexander
2015-04-11 16:47:50 +02:00
committed by Andreas Fischer
2 changed files with 9 additions and 0 deletions

View File

@@ -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),
);
}