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:
parent
ee658bfe7b
commit
18fc621d73
@ -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/'),
|
||||
);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user