[ticket/11997] Modifiy tests after adding path_helper clean_url method

PHPBB3-11997
This commit is contained in:
Marc Alexander 2013-12-21 20:08:33 +01:00
parent d9358c26da
commit 4ced162646

View file

@ -27,11 +27,11 @@ class phpbb_security_redirect_test extends phpbb_security_test_base
array('./app.php/foobar', false, false, 'http://localhost/phpBB/app.php/foobar'), array('./app.php/foobar', false, false, 'http://localhost/phpBB/app.php/foobar'),
array('app.php/foobar', false, false, 'http://localhost/phpBB/app.php/foobar'), array('app.php/foobar', false, false, 'http://localhost/phpBB/app.php/foobar'),
array('./../app.php/foobar', false, false, 'http://localhost/phpBB/app.php/foobar'), array('./../app.php/foobar', false, false, 'http://localhost/phpBB/app.php/foobar'),
array('./../app.php/foobar', true, 'INSECURE_REDIRECT', false), array('./../app.php/foobar', true, false, 'http://../../../foobar'),
array('./../app.php/foo/bar', false, false, 'http://localhost/phpBB/app.php/foo/bar'), array('./../app.php/foo/bar', false, false, 'http://localhost/phpBB/app.php/foo/bar'),
array('./../app.php/foo/bar', true, 'INSECURE_REDIRECT', false), array('./../app.php/foo/bar', true, false, 'http://../../../bar'),
array('./../foo/bar', false, false, 'http://localhost/phpBB/foo/bar'), array('./../foo/bar', false, false, 'http://localhost/phpBB/foo/bar'),
array('./../foo/bar', true, 'INSECURE_REDIRECT', false), array('./../foo/bar', true, false, 'http://../../../bar'),
array('app.php/', false, false, 'http://localhost/phpBB/app.php/'), array('app.php/', false, false, 'http://localhost/phpBB/app.php/'),
array('./app.php/', false, false, 'http://localhost/phpBB/app.php/'), array('./app.php/', false, false, 'http://localhost/phpBB/app.php/'),
array('foobar', false, false, 'http://localhost/phpBB/foobar'), array('foobar', false, false, 'http://localhost/phpBB/foobar'),