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

[stable29] fix: add typecast for mimetype #2495

Merged
merged 1 commit into from
Jun 4, 2024
Merged

Conversation

backportbot[bot]
Copy link

@backportbot backportbot bot commented Jun 4, 2024

Backport of PR #2494

getMimetypeById expectes an integer and is strictly typed since 29 and therefore we need a typecast as additional hardening.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
@backportbot backportbot bot requested review from artonge and kesselb June 4, 2024 10:13
@backportbot backportbot bot added bug Something isn't working 3. to review Waiting for reviews labels Jun 4, 2024
@backportbot backportbot bot added this to the Nextcloud 29.0.2 milestone Jun 4, 2024
@artonge artonge added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Jun 4, 2024
@artonge artonge merged commit 69f9e27 into stable29 Jun 4, 2024
43 of 44 checks passed
@artonge artonge deleted the backport/2494/stable29 branch June 4, 2024 10:53
@Altahrim Altahrim mentioned this pull request Jun 6, 2024
19 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4. to release Ready to be released and/or waiting for tests to finish bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants