diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2008-06-28 15:07:37 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2008-06-28 15:07:37 +0000 |
commit | 81886c0eae6857d0b00ffbf1ed8c40ace8e88d57 (patch) | |
tree | c351f700b60eec9fa82e4d6e311b114b8363c2c1 /phpBB/viewforum.php | |
parent | 6322808f28b72a96ca03a6718477f4c5f7ef1341 (diff) | |
download | forums-81886c0eae6857d0b00ffbf1ed8c40ace8e88d57.tar forums-81886c0eae6857d0b00ffbf1ed8c40ace8e88d57.tar.gz forums-81886c0eae6857d0b00ffbf1ed8c40ace8e88d57.tar.bz2 forums-81886c0eae6857d0b00ffbf1ed8c40ace8e88d57.tar.xz forums-81886c0eae6857d0b00ffbf1ed8c40ace8e88d57.zip |
New parameter for redirect() to circumvent the cross-domain check.
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8674 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/viewforum.php')
-rw-r--r-- | phpBB/viewforum.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/phpBB/viewforum.php b/phpBB/viewforum.php index e8e6fab47a..12a6d940d1 100644 --- a/phpBB/viewforum.php +++ b/phpBB/viewforum.php @@ -107,7 +107,9 @@ if ($forum_data['forum_type'] == FORUM_LINK && $forum_data['forum_link']) $db->sql_query($sql); } - redirect($forum_data['forum_link']); + // We redirect to the url. The third parameter indicates that external redirects are allowed. + redirect($forum_data['forum_link'], false, true); + exit; } // Build navigation links |