]> source.dussan.org Git - nextcloud-server.git/commit
feat: add detected mime type to exception 38844/head
authorDaniel Kesselberg <mail@danielkesselberg.de>
Thu, 15 Jun 2023 18:14:17 +0000 (20:14 +0200)
committerDaniel <mail@danielkesselberg.de>
Sat, 24 Jun 2023 20:38:57 +0000 (22:38 +0200)
commitf21cbfff64bad26b7d80b8b8a1f918611dfa82c3
treeef41f884ae076de6794496768148cbd15e4f97e8
parent10d563a873b4c2d6d423f79140985335e2eb57a7
feat: add detected mime type to exception

The mimetype may not match the file extension.
Helps the user to find out why a provided image is not accepted.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
apps/theming/lib/ImageManager.php
apps/theming/tests/ImageManagerTest.php