mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 05:50:42 +02:00
[ticket/15720] Don't escape ampersands on redirections
PHPBB3-15720
This commit is contained in:
@@ -36,17 +36,17 @@ $mode = $request->variable('mode', '');
|
||||
|
||||
if ($forum_id !== 0)
|
||||
{
|
||||
$url = $controller_helper->route('phpbb_feed_forum', array('forum_id' => $forum_id));
|
||||
$url = $controller_helper->route('phpbb_feed_forum', array('forum_id' => $forum_id), false);
|
||||
}
|
||||
else if ($topic_id !== 0)
|
||||
{
|
||||
$url = $controller_helper->route('phpbb_feed_topic', array('topic_id' => $topic_id));
|
||||
$url = $controller_helper->route('phpbb_feed_topic', array('topic_id' => $topic_id), false);
|
||||
}
|
||||
else
|
||||
{
|
||||
try
|
||||
{
|
||||
$url = $controller_helper->route('phpbb_feed_overall', array('mode' => $mode));
|
||||
$url = $controller_helper->route('phpbb_feed_overall', array('mode' => $mode), false);
|
||||
}
|
||||
catch (InvalidParameterException $e)
|
||||
{
|
||||
|
Reference in New Issue
Block a user