mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
Fix bug #46215 - Adjust viewonline filename regular expression to be less strict.
Authorised by: acydburn git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9566 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -187,7 +187,7 @@ while ($row = $db->sql_fetchrow($result))
|
||||
continue;
|
||||
}
|
||||
|
||||
preg_match('#^([a-z/_]+)#i', $row['session_page'], $on_page);
|
||||
preg_match('#^([a-z0-9/_-]+)#i', $row['session_page'], $on_page);
|
||||
if (!sizeof($on_page))
|
||||
{
|
||||
$on_page[1] = '';
|
||||
|
Reference in New Issue
Block a user