From 795897d8823eaa997d1629785bf147a60944dc31 Mon Sep 17 00:00:00 2001 From: "Paul S. Owen" Date: Fri, 22 Nov 2002 12:33:51 +0000 Subject: [PATCH] Damn it, another PHP3 oversight ... I could happily "damage" the person who noted this to the security lists ... git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@3080 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/viewtopic.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpBB/viewtopic.php b/phpBB/viewtopic.php index ef36d204f7..eaa0607fcf 100644 --- a/phpBB/viewtopic.php +++ b/phpBB/viewtopic.php @@ -455,7 +455,7 @@ if (isset($HTTP_GET_VARS['highlight'])) { if (trim($words[$i]) != '') { - $highlight_match .= (($highlight_match != '') ? '|' : '') . str_replace('*', '\w*', preg_quote($words[$i], '#')); + $highlight_match .= (($highlight_match != '') ? '|' : '') . str_replace('*', '\w*', phpbb_preg_quote($words[$i], '#')); } } unset($words);