aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorDhruv <dhruv.goel92@gmail.com>2013-04-13 22:50:37 +0530
committerDhruv <dhruv.goel92@gmail.com>2013-04-27 19:39:31 +0530
commit8d1bbc1e7f3bc8366ed127bd129c239f1b62b5c1 (patch)
treeef7ffaea5637b0268cf2467fd1e253f760c7ba99 /phpBB
parent0ad48d7ea10316d7ae3b897e6fa8cbdda3f7eebc (diff)
downloadforums-8d1bbc1e7f3bc8366ed127bd129c239f1b62b5c1.tar
forums-8d1bbc1e7f3bc8366ed127bd129c239f1b62b5c1.tar.gz
forums-8d1bbc1e7f3bc8366ed127bd129c239f1b62b5c1.tar.bz2
forums-8d1bbc1e7f3bc8366ed127bd129c239f1b62b5c1.tar.xz
forums-8d1bbc1e7f3bc8366ed127bd129c239f1b62b5c1.zip
[ticket/10820] simplify regex and escape dot
PHPBB3-10820
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/download/file.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/download/file.php b/phpBB/download/file.php
index d22885c303..4b2f34f94d 100644
--- a/phpBB/download/file.php
+++ b/phpBB/download/file.php
@@ -715,7 +715,7 @@ function file_gc()
*/
function phpbb_is_greater_ie7($browser)
{
- return (bool) preg_match('/msie (\d{2,3}|[89]+).[0-9.]*;/', strtolower($browser));
+ return (bool) preg_match('/msie [^67]+\\.*;/', strtolower($browser));
}
?> \ No newline at end of file