mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 13:30:25 +02:00
[ticket/12510] Convert & to & in build_url() when no params are stripped.
PHPBB3-12510
This commit is contained in:
@@ -2356,6 +2356,10 @@ function build_url($strip_vars = false)
|
||||
{
|
||||
$redirect = $phpbb_path_helper->strip_url_params($redirect, $strip_vars, false);
|
||||
}
|
||||
else
|
||||
{
|
||||
$redirect = str_replace('&', '&', $redirect);
|
||||
}
|
||||
|
||||
return $redirect . ((strpos($redirect, '?') === false) ? '?' : '');
|
||||
}
|
||||
|
Reference in New Issue
Block a user