Fixes #17328: Added mime aliases for BMP and SVG files

This commit is contained in:
Christoph Möke
2019-06-03 16:17:08 +02:00
committed by Alexander Makarov
parent 1f3e89d056
commit 2ca8da062c
2 changed files with 12 additions and 0 deletions

View File

@ -6,6 +6,7 @@ Yii Framework 2 Change Log
- Bug #16509: Fixed console command help text wordwrap for multi-byte strings (alexkart)
- Bug #17299: Fixed adding of input error class in `\yii\widgets\ActiveField::widget` (alexkart)
- Bug #17328: Added mime aliases for BMP and SVG files (cmoeke)
2.0.19 May 21, 2019

View File

@ -6,4 +6,15 @@
*/
return [
'text/xml' => 'application/xml',
'image/svg' => 'image/svg+xml',
'image/x-bmp' => 'image/bmp',
'image/x-bitmap' => 'image/bmp',
'image/x-xbitmap' => 'image/bmp',
'image/x-win-bitmap' => 'image/bmp',
'image/x-windows-bmp' => 'image/bmp',
'image/ms-bmp' => 'image/bmp',
'image/x-ms-bmp' => 'image/bmp',
'application/bmp' => 'image/bmp',
'application/x-bmp' => 'image/bmp',
'application/x-win-bitmap' => 'image/bmp',
];