Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[stable31] fix(mimetypes): drop tar.gz and tar.bz2 and adjust tgz #51413

Merged
merged 1 commit into from
Mar 12, 2025

Conversation

backportbot[bot]
Copy link

@backportbot backportbot bot commented Mar 12, 2025

Backport of PR #51405

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>
@backportbot backportbot bot requested review from kesselb, skjnldsv and susnux March 12, 2025 07:51
@backportbot backportbot bot added bug 3. to review Waiting for reviews labels Mar 12, 2025
@backportbot backportbot bot added this to the Nextcloud 31.0.1 milestone Mar 12, 2025
@skjnldsv skjnldsv merged commit f17c3cd into stable31 Mar 12, 2025
106 of 107 checks passed
@skjnldsv skjnldsv deleted the backport/51405/stable31 branch March 12, 2025 07:54
@blizzz blizzz mentioned this pull request Mar 12, 2025
14 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants