We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
+
1 parent 233f40c commit 4db558cCopy full SHA for 4db558c
File/MimeType/FileBinaryMimeTypeGuesser.php
@@ -89,7 +89,7 @@ public function guess($path)
89
90
$type = trim(ob_get_clean());
91
92
- if (!preg_match('#^([a-z0-9\-]+/[a-z0-9\-\.]+)#i', $type, $match)) {
+ if (!preg_match('#^([a-z0-9\-]+/[a-z0-9\-\+\.]+)#i', $type, $match)) {
93
// it's not a type, but an error message
94
return null;
95
}
0 commit comments