From 18fc621d73757ef793fba08f7da4e048b293a059 Mon Sep 17 00:00:00 2001 From: Marc Alexander Date: Thu, 23 Apr 2015 15:27:30 +0200 Subject: [ticket/security-180] Add tests for redirecting to main URL SECURITY-180 --- tests/security/redirect_test.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/security') diff --git a/tests/security/redirect_test.php b/tests/security/redirect_test.php index 9161bcbfe8..9a24ba5d65 100644 --- a/tests/security/redirect_test.php +++ b/tests/security/redirect_test.php @@ -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/'), ); } -- cgit v1.2.1