aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/download
diff options
context:
space:
mode:
authorDhruv <dhruv.goel92@gmail.com>2013-04-13 22:50:37 +0530
committerDhruv <dhruv.goel92@gmail.com>2013-06-12 20:22:42 +0530
commit687b04bcfc7a4dac8c53e9dbf5e7c31347d9d474 (patch)
treeeaf1e9fa00d33feaf75cc630b4964da5fdd4e874 /phpBB/download
parent364828de24c14a73d98621b545f7732c18b18a4d (diff)
downloadforums-687b04bcfc7a4dac8c53e9dbf5e7c31347d9d474.tar
forums-687b04bcfc7a4dac8c53e9dbf5e7c31347d9d474.tar.gz
forums-687b04bcfc7a4dac8c53e9dbf5e7c31347d9d474.tar.bz2
forums-687b04bcfc7a4dac8c53e9dbf5e7c31347d9d474.tar.xz
forums-687b04bcfc7a4dac8c53e9dbf5e7c31347d9d474.zip
[ticket/10820] simplify regex and escape dot
PHPBB3-10820
Diffstat (limited to 'phpBB/download')
-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 20d3e60580..5b274160e8 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