mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-10 11:46:32 +02:00
Merge branch '3.2.x'
This commit is contained in:
@ -1711,8 +1711,8 @@ function redirect($url, $return = false, $disable_cd_check = false)
|
|||||||
|
|
||||||
if ($url_parts === false)
|
if ($url_parts === false)
|
||||||
{
|
{
|
||||||
// Malformed url, redirect to current page...
|
// Malformed url
|
||||||
$url = generate_board_url() . '/' . $user->page['page'];
|
trigger_error('INSECURE_REDIRECT', E_USER_ERROR);
|
||||||
}
|
}
|
||||||
else if (!empty($url_parts['scheme']) && !empty($url_parts['host']))
|
else if (!empty($url_parts['scheme']) && !empty($url_parts['host']))
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user