diff --git a/classes/adminbasecontroller.php b/classes/adminbasecontroller.php index 3747dd28..392f0a8b 100644 --- a/classes/adminbasecontroller.php +++ b/classes/adminbasecontroller.php @@ -325,7 +325,7 @@ class AdminBaseController } $isMime = strstr($type, '/'); - $find = str_replace(['.', '*'], ['\.', '.*'], $type); + $find = str_replace(['.', '*', '+'], ['\.', '.*', '\+'], $type); if ($isMime) { $match = preg_match('#' . $find . '$#', $mime);