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
This commit is contained in:
Paul S. Owen 2002-11-22 12:33:51 +00:00
parent 14fd9d195b
commit 795897d882

View file

@ -455,7 +455,7 @@ if (isset($HTTP_GET_VARS['highlight']))
{ {
if (trim($words[$i]) != '') 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); unset($words);