]> source.dussan.org Git - nextcloud-server.git/commit
Fix SVG icons
authorLukas Reschke <lukas@owncloud.com>
Thu, 16 Oct 2014 10:13:16 +0000 (12:13 +0200)
committerLukas Reschke <lukas@owncloud.com>
Thu, 16 Oct 2014 10:35:51 +0000 (12:35 +0200)
commit9cfbf7ed1c92b262984488eaa9cee5df88419d5b
tree6f8368b3971813a7383b519e560854f7f2afa2e1
parent756f64d728ccb9ef9bc6ba2ca965064827003231
Fix SVG icons

FIXME: Ugly hack to prevent SVG of being returned if the SVG
provider is not enabled.
This is required because the preview system is designed in a
bad way and relies on opt-in with asterisks (i.e. image/*)
which will lead to the fact that a SVG will also match the image
provider.

Conflicts:
lib/private/preview.php
apps/files_sharing/js/public.js
lib/private/preview.php