From 1a5e4f446a681b9dbf02951445bb1e2088bd435a Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Mon, 17 Jul 2006 15:06:11 +0000 Subject: [PATCH] - fix bug within php code removal expression. Thanks to BenP for reporting it to our security tracker. git-svn-id: file:///svn/phpbb/trunk@6189 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/functions_template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpBB/includes/functions_template.php b/phpBB/includes/functions_template.php index f566cce1cd..55cb9b1e1a 100644 --- a/phpBB/includes/functions_template.php +++ b/phpBB/includes/functions_template.php @@ -86,7 +86,7 @@ class template_compile // php is a no-no. There is a potential issue here in that non-php // content may be removed ... however designers should use entities // if they wish to display < and > - $match_php_tags = array('#\<\?php .*?\?\>#is', '#\<\script language="php"\>.*?\<\/script\>#is', '#\<\?.*?\?\>#s', '#\<%.*?%\>#s'); + $match_php_tags = array('#\<\?php .*?\?\>#is', '#\