]> 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:25:58 +0000 (12:25 +0200)
commit979d2823b532446d6c5ef24717178f3533fda1c3
treedaadc1e9eef14ab8e667306c362d82e39d8d3ef3
parentbefbf1c15031446130cb1d253aec5f82d0060dd8
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.
apps/files_sharing/js/public.js
lib/private/preview.php