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

fix: add typecast for mimetype #2494

Merged
merged 1 commit into from
Jun 4, 2024
Merged

Conversation

kesselb
Copy link
Contributor

@kesselb kesselb commented Jun 4, 2024

Fix #2493

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

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>
@kesselb kesselb added bug Something isn't working 3. to review Waiting for reviews labels Jun 4, 2024
@kesselb kesselb added this to the Nextcloud 30 milestone Jun 4, 2024
@kesselb kesselb self-assigned this Jun 4, 2024
@kesselb
Copy link
Contributor Author

kesselb commented Jun 4, 2024

/backport to stable29

@backportbot backportbot bot added the backport-request Pending backport by the backport-bot label Jun 4, 2024
@artonge artonge enabled auto-merge June 4, 2024 10:02
@artonge artonge disabled auto-merge June 4, 2024 10:12
@artonge artonge merged commit 8da933f into master Jun 4, 2024
44 checks passed
@artonge artonge deleted the bug/2493/add-typecasts-mimetype-id branch June 4, 2024 10:13
@backportbot backportbot bot removed the backport-request Pending backport by the backport-bot label Jun 4, 2024
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 Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: Unable to access "ALBAUM" in Nextcloud 29.0.x
2 participants