mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
[ticket/11997] Modifiy tests after adding path_helper clean_url method
PHPBB3-11997
This commit is contained in:
parent
d9358c26da
commit
4ced162646
1 changed files with 3 additions and 3 deletions
|
@ -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'),
|
||||||
|
|
Loading…
Add table
Reference in a new issue