Skip to content

Commit a6b152c

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
1 parent 32f7157 commit a6b152c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

FileBinaryMimeTypeGuesser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ public function guessMimeType(string $path): ?string
8585

8686
$type = trim(ob_get_clean());
8787

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

0 commit comments

Comments
 (0)