aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/viewonline.php
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2009-06-09 15:52:03 +0000
committerAndreas Fischer <bantu@phpbb.com>2009-06-09 15:52:03 +0000
commit1f05faf25c41d940ce1210225e2321b7ccaf0365 (patch)
tree8cbced595e7c522c564e48bfb4d737d08bc977ad /phpBB/viewonline.php
parent2af8393d0f5fa08b95df989ab879ce1b7d4cab21 (diff)
downloadforums-1f05faf25c41d940ce1210225e2321b7ccaf0365.tar
forums-1f05faf25c41d940ce1210225e2321b7ccaf0365.tar.gz
forums-1f05faf25c41d940ce1210225e2321b7ccaf0365.tar.bz2
forums-1f05faf25c41d940ce1210225e2321b7ccaf0365.tar.xz
forums-1f05faf25c41d940ce1210225e2321b7ccaf0365.zip
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
Diffstat (limited to 'phpBB/viewonline.php')
-rw-r--r--phpBB/viewonline.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/viewonline.php b/phpBB/viewonline.php
index c42eeff57a..5eb2894441 100644
--- a/phpBB/viewonline.php
+++ b/phpBB/viewonline.php
@@ -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] = '';