diff options
author | Ferdinand Thiessen <opensource@fthiessen.de> | 2025-03-11 21:35:33 +0100 |
---|---|---|
committer | Ferdinand Thiessen <opensource@fthiessen.de> | 2025-03-11 21:35:33 +0100 |
commit | a234ef16f07944f892a528df3d628efce06c2b22 (patch) | |
tree | 40e64fafeb2568239e7deb3b12ee1be6ba6f0aee /core/Controller/OCMController.php | |
parent | bbd3a3cd87e4134cd3211d77c7ccd357f6c28095 (diff) | |
download | nextcloud-server-fix/mime.tar.gz nextcloud-server-fix/mime.zip |
fix(mimetypes): drop `tar.gz` and `tar.bz2` and adjust `tgz`fix/mime
1. mimetypes with a dot do not work with our mime detector (only checks
last dot).
2. all of those files are tar files compressed as gzip / bzip2 so the
real mimetype of the file is the compression not the tar.
We could at max. set mime to `application/x-tar+gzip`.
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Diffstat (limited to 'core/Controller/OCMController.php')
0 files changed, 0 insertions, 0 deletions