1
0
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:
Andreas Fischer
2009-06-09 15:52:03 +00:00
parent 2af8393d0f
commit 1f05faf25c
2 changed files with 2 additions and 1 deletions

View File

@@ -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] = '';