From 025d0bf7571d32db014f84db9ec09af28a0ef23e Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Wed, 18 Oct 2006 15:32:46 +0000 Subject: [PATCH] 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 --- phpBB/includes/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }