mirror of
https://github.com/freescout-helpdesk/freescout.git
synced 2025-01-31 12:01:39 +01:00
Fix displaying SVG images in the uploaded folder on Apache - closes #3522
This commit is contained in:
parent
8b80bd4119
commit
1dd59bc2b6
@ -4,4 +4,11 @@
|
||||
ForceType application/octet-stream
|
||||
Header set Content-Disposition attachment
|
||||
</FilesMatch>
|
||||
# SVG image is the special case: it is an image but we can't
|
||||
# let it open in the browser as it may content malicious code
|
||||
# and it requires a special "image/svg+xml" content type to be set.
|
||||
<FilesMatch "\.svg$">
|
||||
ForceType image/svg+xml
|
||||
Header set Content-Disposition attachment
|
||||
</FilesMatch>
|
||||
</IfModule>
|
Loading…
x
Reference in New Issue
Block a user