mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-06 16:56:44 +02:00
[ticket/11997] Allow redirects to parent folders like previously
Redirects to parent folders were possible with the previous redirect function. This change will allow these redirects again. PHPBB3-11997
This commit is contained in:
@@ -132,7 +132,9 @@ class phpbb_functional_extension_controller_test extends phpbb_functional_test_c
|
||||
|
||||
$row_num = str_replace('redirect_expected_', '', $redirect);
|
||||
|
||||
$this->assertContains($filesystem->clean_path(self::$root_url) . $crawler->filter('#redirect_expected_' . $row_num)->text(), $crawler->filter('#redirect_' . $row_num)->text());
|
||||
$redirect = $crawler->filter('#redirect_' . $row_num)->text();
|
||||
$redirect = substr($redirect, 0, strpos($redirect, 'sid') - 1);
|
||||
$this->assertContains($crawler->filter('#redirect_expected_' . $row_num)->text(), $redirect);
|
||||
}
|
||||
|
||||
$this->phpbb_extension_manager->purge('foo/bar');
|
||||
|
Reference in New Issue
Block a user