|
@@ -269,11 +269,10 @@ function attachment_common_octet_stream(&$Args) {
|
|
|
|
|
|
$Ext = '';
|
|
$Ext = '';
|
|
if (is_array($Regs) && isset($Regs[1])) {
|
|
if (is_array($Regs) && isset($Regs[1])) {
|
|
- $Ext = $Regs[1];
|
|
|
|
|
|
+ $Ext = $Regs[1];
|
|
|
|
+ $Ext = strtolower($Regs[1]);
|
|
}
|
|
}
|
|
|
|
|
|
- $Ext = strtolower($Regs[1]);
|
|
|
|
-
|
|
|
|
if ($Ext == '' || ! isset($FileExtensionToMimeType[$Ext]))
|
|
if ($Ext == '' || ! isset($FileExtensionToMimeType[$Ext]))
|
|
return;
|
|
return;
|
|
|
|
|