summaryrefslogtreecommitdiff
path: root/program/lib/Roundcube/rcube_mime.php
diff options
context:
space:
mode:
authorThomas Bruederli <thomas@roundcube.net>2013-10-22 20:21:58 +0200
committerThomas Bruederli <thomas@roundcube.net>2013-10-22 20:21:58 +0200
commit1ece73dc4ea724f681ee49f1a1c2a9f241a1fa51 (patch)
treebe64114e3ec7b27b83ec85f86f78d8f276e71870 /program/lib/Roundcube/rcube_mime.php
parent6f04daa754bdbd501e72a759378b5ec6effe79b8 (diff)
Fix mime.types parsing (#1489391)
Diffstat (limited to 'program/lib/Roundcube/rcube_mime.php')
-rw-r--r--program/lib/Roundcube/rcube_mime.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/lib/Roundcube/rcube_mime.php b/program/lib/Roundcube/rcube_mime.php
index 9c2220328..a931c27c1 100644
--- a/program/lib/Roundcube/rcube_mime.php
+++ b/program/lib/Roundcube/rcube_mime.php
@@ -810,7 +810,7 @@ class rcube_mime
}
$mime_types = $mime_extensions = array();
- $regex = "/([\w\+\-\.\/]+)\t+([\w\s]+)/i";
+ $regex = "/([\w\+\-\.\/]+)\s+([\w\s]+)/i";
foreach((array)$lines as $line) {
// skip comments or mime types w/o any extensions
if ($line[0] == '#' || !preg_match($regex, $line, $matches))