-
Bug
-
Resolution: Duplicate
-
Major
-
None
-
3.0.7-PL1
-
None
While logging in from some mod related code, I got this error.
Fatal error: Cannot break/continue 1 level in ****/www/community/includes/functions.php on line 2348
|
if (!$disable_cd_check && !file_exists($pathinfo['dirname']))
|
{
|
$url = str_replace('../', '', $url);
|
$pathinfo = pathinfo($url);
|
|
if (!file_exists($pathinfo['dirname']))
|
{
|
// fallback to "last known user page"
|
$url = generate_board_url() . '/' . $user->page['page'];
|
break;
|
}
|
}
|
- duplicates
-
PHPBB-9034 Redirect() fails with directory traversal
- Closed