[ticket/11850] Add test for outside of the phpBB directory

PHPBB3-11850
This commit is contained in:
Nathan Guse 2013-09-18 09:25:58 -05:00
parent 9c535da528
commit d85ae0f7bc

View file

@ -116,6 +116,22 @@ class phpbb_session_extract_page_test extends phpbb_session_test_case
'forum' => 0,
),
),
array(
'./../phpBB/',
'/test/test.php',
'page=1&test=2',
'/test/',
'',
array(
'page_name' => 'test.php',
//'page_dir' => '',
'query_string' => 'page=1&test=2',
'script_path' => '/test/',
//'root_script_path' => '../phpBB/',
//'page' => '../test/test.php/foo/bar?page=1&test=2',
'forum' => 0,
),
),
);
}