1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-04-19 23:32:02 +02:00

[ticket/security-180] Add tests for redirecting to main URL

SECURITY-180
This commit is contained in:
Marc Alexander 2015-04-23 15:27:30 +02:00
parent ee658bfe7b
commit 18fc621d73

View File

@ -27,6 +27,8 @@ class phpbb_security_redirect_test extends phpbb_security_test_base
array('https://foobar.com\@http://localhost/phpBB', 'Tried to redirect to potentially insecure url.', false),
array('https://foobar.com\@localhost/troll/http://localhost/', 'Tried to redirect to potentially insecure url.', false),
array('http://localhost.foobar.com\@localhost/troll/http://localhost/', 'Tried to redirect to potentially insecure url.', false),
array('http://localhost/phpBB', false, 'http://localhost/phpBB'),
array('http://localhost/phpBB/', false, 'http://localhost/phpBB/'),
);
}