diff options
Diffstat (limited to 'lib/private/Preview/TGA.php')
-rw-r--r-- | lib/private/Preview/TGA.php | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/private/Preview/TGA.php b/lib/private/Preview/TGA.php index cb591be2231..35f000b6bdd 100644 --- a/lib/private/Preview/TGA.php +++ b/lib/private/Preview/TGA.php @@ -28,6 +28,13 @@ class TGA extends Bitmap { * {@inheritDoc} */ public function getMimeType(): string { - return '/image\/t(ar)?ga/'; + return '/image\/(x-)?t(ar)?ga/'; + } + + /** + * {@inheritDoc} + */ + protected function getAllowedMimeTypes(): string { + return '/image\/(x-)?t(ar)?ga/'; } } |