diff options
| author | Rico Sonntag <mail@ricosonntag.de> | 2021-01-11 15:49:13 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-11 14:49:13 +0000 |
| commit | 91694fa0fffbd96d0aeb70b934ccce9b3b4e82e2 (patch) | |
| tree | c19f0dc2df7af758b1872976754e42cb09f546dd | |
| parent | 7684867e23f29dec4c58f964ab2af8a5a6e49f03 (diff) | |
| download | webtrees-91694fa0fffbd96d0aeb70b934ccce9b3b4e82e2.tar.gz webtrees-91694fa0fffbd96d0aeb70b934ccce9b3b4e82e2.tar.bz2 webtrees-91694fa0fffbd96d0aeb70b934ccce9b3b4e82e2.zip | |
Update Mime.php (#3665)
Fixed mime type of SVG images => see https://www.w3.org/TR/SVG11/intro.html#MIMEType
With this fix SVG images could be used within asset URLs.
| -rw-r--r-- | app/Mime.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Mime.php b/app/Mime.php index 4bc5f49b76..fe5ac9433a 100644 --- a/app/Mime.php +++ b/app/Mime.php @@ -52,7 +52,7 @@ class Mime 'pdf' => 'application/pdf', 'png' => 'image/png', 'rar' => 'application/x-rar-compressed', - 'svg' => 'image/svg', + 'svg' => 'image/svg+xml', 'swf' => 'application/x-shockwave-flash', 'tif' => 'image/tiff', 'tiff' => 'image/tiff', |
