Skip to content

[stable29] fix: add typecast for mimetype - #2495

Merged
artonge merged 1 commit into
stable29from
backport/2494/stable29
Jun 4, 2024
Merged

[stable29] fix: add typecast for mimetype#2495
artonge merged 1 commit into
stable29from
backport/2494/stable29

Conversation

@backportbot

@backportbot backportbot Bot commented Jun 4, 2024

Copy link
Copy Markdown

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
@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.

2 participants