Skip to content

[stable30] fix: Reset session if file rename changes mimetype from/to markdown - #6348

Merged
mejo- merged 1 commit into
stable30from
backport/6345/stable30
Sep 11, 2024
Merged

[stable30] fix: Reset session if file rename changes mimetype from/to markdown#6348
mejo- merged 1 commit into
stable30from
backport/6345/stable30

Conversation

@backportbot

Copy link
Copy Markdown

Backport of PR #6345

For the event target file, we cannot use `getMimetype()` or
`getExtension()` as it's a node of type `NonExistingFile`.
Fixes: #5736
Signed-off-by: Jonas <jonas@freesources.org>
@backportbotbackportbotBot added bug Something isn't working 3. to review labels Sep 11, 2024
@backportbotbackportbotBot added this to the Nextcloud 30.0.1 milestone Sep 11, 2024
@mejo-
mejo- merged commit 41cabac into stable30Sep 11, 2024
@mejo-
mejo- deleted the backport/6345/stable30 branch September 11, 2024 16:27
@AltahrimAltahrim mentioned this pull request Sep 12, 2024
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to reviewbugSomething isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@mejo-