diff options
Diffstat (limited to 'tests/security')
-rw-r--r-- | tests/security/redirect_test.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/security/redirect_test.php b/tests/security/redirect_test.php index 24ddaa265d..13db4c299b 100644 --- a/tests/security/redirect_test.php +++ b/tests/security/redirect_test.php @@ -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', 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', 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', 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('foobar', false, false, 'http://localhost/phpBB/foobar'), |