mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-13 21:26:28 +02:00
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:
@ -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);
|
||||
|
Reference in New Issue
Block a user