Skip to content

Commit 2283572

Browse files
committed
ACP2E-1353: allow image/x-icon favicon
1 parent bb1c882 commit 2283572

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/MediaStorage/Model/File/Validator

1 file changed

+1
-1
lines changed

app/code/Magento/MediaStorage/Model/File/Validator/Image.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class Image extends AbstractValidator
2727
'jpg' => 'image/jpeg',
2828
'gif' => 'image/gif',
2929
'bmp' => 'image/bmp',
30-
'ico' => 'image/vnd.microsoft.icon',
30+
'ico' => ['image/vnd.microsoft.icon', 'image/x-icon']
3131
];
3232

3333
/**

0 commit comments

Comments
 (0)