summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authortobiasKaminsky <tobias@kaminsky.me>2021-07-21 09:14:20 +0200
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2021-07-21 08:31:31 +0000
commit718cb09dc914e518f6d7d33aba611eddef7dd53c (patch)
treec01e03a82b684df42f91101241ace9968d801b44 /lib
parent359a33f91ad3b5ca74571f83d688935eaff91e8f (diff)
downloadnextcloud-server-718cb09dc914e518f6d7d33aba611eddef7dd53c.tar.gz
nextcloud-server-718cb09dc914e518f6d7d33aba611eddef7dd53c.zip
Disable HEIC image preview provider for performance concerns
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
Diffstat (limited to 'lib')
-rw-r--r--lib/private/PreviewManager.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/private/PreviewManager.php b/lib/private/PreviewManager.php
index 92766f116a1..a381ec8c23d 100644
--- a/lib/private/PreviewManager.php
+++ b/lib/private/PreviewManager.php
@@ -277,7 +277,6 @@ class PreviewManager implements IPreview {
* - OC\Preview\JPEG
* - OC\Preview\GIF
* - OC\Preview\BMP
- * - OC\Preview\HEIC
* - OC\Preview\XBitmap
* - OC\Preview\MarkDown
* - OC\Preview\MP3
@@ -285,6 +284,7 @@ class PreviewManager implements IPreview {
*
* The following providers are disabled by default due to performance or privacy concerns:
* - OC\Preview\Font
+ * - OC\Preview\HEIC
* - OC\Preview\Illustrator
* - OC\Preview\Movie
* - OC\Preview\MSOfficeDoc
@@ -310,7 +310,6 @@ class PreviewManager implements IPreview {
Preview\JPEG::class,
Preview\GIF::class,
Preview\BMP::class,
- Preview\HEIC::class,
Preview\XBitmap::class,
Preview\Krita::class,
Preview\WebP::class,