mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-29 02:59:52 +02:00
[ticket/11997] Allow redirects to parent folders like previously
Redirects to parent folders were possible with the previous redirect function. This change will allow these redirects again. PHPBB3-11997
This commit is contained in:
@@ -38,9 +38,9 @@ class phpbb_security_redirect_test extends phpbb_security_test_base
|
||||
array('./foobar', false, false, 'http://localhost/phpBB/foobar'),
|
||||
array('foo/bar', false, false, 'http://localhost/phpBB/foo/bar'),
|
||||
array('./foo/bar', false, false, 'http://localhost/phpBB/foo/bar'),
|
||||
array('./../index.php', false, false, 'http://localhost/phpBB/index.php'),
|
||||
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('../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'),
|
||||
);
|
||||
|
Reference in New Issue
Block a user