diff options
author | Georg Ehrke <developer@georgehrke.com> | 2014-11-23 19:11:03 +0100 |
---|---|---|
committer | Georg Ehrke <developer@georgehrke.com> | 2014-11-23 19:11:03 +0100 |
commit | 45d985f2d8f3df26960b36e7cb6d75513e5e7dfc (patch) | |
tree | d4a5e5b13607ef7aaa11f4216845a2dfa1a3de5d /lib/private/preview | |
parent | a3496cf7fab6f4e9d4ce804e3b3ce0fc83a863dc (diff) | |
download | nextcloud-server-45d985f2d8f3df26960b36e7cb6d75513e5e7dfc.tar.gz nextcloud-server-45d985f2d8f3df26960b36e7cb6d75513e5e7dfc.zip |
remove ugly hack and don't use OC\Preview\Image for tiffs and svgs
Diffstat (limited to 'lib/private/preview')
-rw-r--r-- | lib/private/preview/image.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/preview/image.php b/lib/private/preview/image.php index ec5b87befea..7bcbddc649e 100644 --- a/lib/private/preview/image.php +++ b/lib/private/preview/image.php @@ -11,7 +11,7 @@ namespace OC\Preview; class Image extends Provider { public function getMimeType() { - return '/image\/.*/'; + return '/image\/(?!tiff$)(?!svg.*).*/'; } public function getThumbnail($path, $maxX, $maxY, $scalingup, $fileview) { |