1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-04-29 12:23:43 +02:00

Merge branch '3.2.x'

This commit is contained in:
Marc Alexander 2016-09-23 21:10:29 +02:00
commit b15517e700
No known key found for this signature in database
GPG Key ID: 50E0D2423696F995

@ -1711,8 +1711,8 @@ function redirect($url, $return = false, $disable_cd_check = false)
if ($url_parts === false)
{
// Malformed url, redirect to current page...
$url = generate_board_url() . '/' . $user->page['page'];
// Malformed url
trigger_error('INSECURE_REDIRECT', E_USER_ERROR);
}
else if (!empty($url_parts['scheme']) && !empty($url_parts['host']))
{