Skip to content

Commit 9c134c0

Browse files
Merge branch '3.4' into 4.3
* 3.4: Add plus character `+` to legal mime subtype [Dotenv] search variable values in ENV first then env file [VarDumper] fix resetting the "bold" state in CliDumper SCA: added missing break in a loop
2 parents 76590ce + 4db558c commit 9c134c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

File/MimeType/FileBinaryMimeTypeGuesser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ public function guess($path)
9494

9595
$type = trim(ob_get_clean());
9696

97-
if (!preg_match('#^([a-z0-9\-]+/[a-z0-9\-\.]+)#i', $type, $match)) {
97+
if (!preg_match('#^([a-z0-9\-]+/[a-z0-9\-\+\.]+)#i', $type, $match)) {
9898
// it's not a type, but an error message
9999
return null;
100100
}

0 commit comments

Comments
 (0)