aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2006-10-18 15:32:46 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2006-10-18 15:32:46 +0000
commit025d0bf7571d32db014f84db9ec09af28a0ef23e (patch)
tree9f70d5361018e4d926007bde468ecaedf6658311 /phpBB/includes/functions.php
parent771c20a5a48407de644a352556d007c42882f4ed (diff)
downloadforums-025d0bf7571d32db014f84db9ec09af28a0ef23e.tar
forums-025d0bf7571d32db014f84db9ec09af28a0ef23e.tar.gz
forums-025d0bf7571d32db014f84db9ec09af28a0ef23e.tar.bz2
forums-025d0bf7571d32db014f84db9ec09af28a0ef23e.tar.xz
forums-025d0bf7571d32db014f84db9ec09af28a0ef23e.zip
let the forum link work again
(we do not need the removed check because the board url is always prefixed, except for those urls having a valid scheme and host part) git-svn-id: file:///svn/phpbb/trunk@6508 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions.php')
-rw-r--r--phpBB/includes/functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php
index 0965a585b8..6b04f315b1 100644
--- a/phpBB/includes/functions.php
+++ b/phpBB/includes/functions.php
@@ -1541,7 +1541,7 @@ function redirect($url, $return = false)
}
// Make sure no linebreaks are there... to prevent http response splitting for PHP < 4.4.2
- if (strpos(urldecode($url), "\n") !== false || strpos(urldecode($url), "\r") !== false || strpos($url, ';') !== false || strpos($url, generate_board_url()) !== 0)
+ if (strpos(urldecode($url), "\n") !== false || strpos(urldecode($url), "\r") !== false || strpos($url, ';') !== false)
{
trigger_error('Tried to redirect to potentially insecure url.', E_USER_ERROR);
}