summaryrefslogtreecommitdiffstats
path: root/application/config/mimes.php
diff options
context:
space:
mode:
authorddonatek <david.donatek@gmail.com>2021-11-02 23:53:06 +0100
committerGitHub <noreply@github.com>2021-11-02 23:53:06 +0100
commit76943952919c6c8be3ee3cfad3469d9effa0f4d7 (patch)
tree619b41276b2895e896f7a767fe16d7749ab568a3 /application/config/mimes.php
parent4fa09ccaa80770ed11a2fdf6f1e28c5e14914be4 (diff)
Added another SVG mimetype
Some MIME detection programs/libraries identify SVG files without `<?xml ...?>` declaration as `image/svg`
Diffstat (limited to 'application/config/mimes.php')
-rw-r--r--application/config/mimes.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/application/config/mimes.php b/application/config/mimes.php
index f5407ff89..b2e989fea 100644
--- a/application/config/mimes.php
+++ b/application/config/mimes.php
@@ -162,7 +162,7 @@ return array(
'cdr' => array('application/cdr', 'application/coreldraw', 'application/x-cdr', 'application/x-coreldraw', 'image/cdr', 'image/x-cdr', 'zz-application/zz-winassoc-cdr'),
'wma' => array('audio/x-ms-wma', 'video/x-ms-asf'),
'jar' => array('application/java-archive', 'application/x-java-application', 'application/x-jar', 'application/x-compressed'),
- 'svg' => array('image/svg+xml', 'application/xml', 'text/xml'),
+ 'svg' => array('image/svg+xml', 'image/svg', 'application/xml', 'text/xml'),
'vcf' => 'text/x-vcard',
'srt' => array('text/srt', 'text/plain'),
'vtt' => array('text/vtt', 'text/plain'),