Vote #72336
完了Missing mime type for svg files
開始日:
2022/05/09
期日:
進捗率:
0%
予定工数:
Redmineorg_URL:
category_id:
3
version_id:
47
issue_org_id:
11595
author_id:
61008
assigned_to_id:
1
comments:
1
status_id:
5
tracker_id:
2
plus1:
0
affected_version:
closed_on:
affected_version_id:
説明
the file lib/redmine/mime_type.rb is missing a declaration for the mime type of svg images. This causes that when trying to open an svg present in a repository using firefox it will ask for a plugin.
To solve this I added:
'image/svg+xml'=> 'svg',
to the MIME hash
journals
Added in r10158.
--------------------------------------------------------------------------------
いいね!0