aboutsummaryrefslogtreecommitdiffstats
path: root/tests/security/redirect_test.php
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2013-12-21 20:08:33 +0100
committerMarc Alexander <admin@m-a-styles.de>2013-12-21 20:08:33 +0100
commit4ced1626467c1b8a137f18ceb3aca3a032b41c76 (patch)
treeda1ed64982bc3275115e9e2d817f75e806fc22d9 /tests/security/redirect_test.php
parentd9358c26da6737044a3c10893e7b954176b205d2 (diff)
downloadforums-4ced1626467c1b8a137f18ceb3aca3a032b41c76.tar
forums-4ced1626467c1b8a137f18ceb3aca3a032b41c76.tar.gz
forums-4ced1626467c1b8a137f18ceb3aca3a032b41c76.tar.bz2
forums-4ced1626467c1b8a137f18ceb3aca3a032b41c76.tar.xz
forums-4ced1626467c1b8a137f18ceb3aca3a032b41c76.zip
[ticket/11997] Modifiy tests after adding path_helper clean_url method
PHPBB3-11997
Diffstat (limited to 'tests/security/redirect_test.php')
-rw-r--r--tests/security/redirect_test.php6
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'),