Skip to content

Conversation

@backportbot-nextcloud
Copy link

backport of #33332

When a file can not be uploaded in the Theming app due to an expected
error (like an invalid mime type) the response contains a "data.message"
field. However, if the upload fails due to an unexpected error (like an
internal error, for example if the "mime_content_type" function is
disabled) there is no such field, so it should not be used.

Signed-off-by: Daniel Calviño Sánchez <[email protected]>
@blizzz blizzz mentioned this pull request Sep 27, 2022
@blizzz blizzz added the 3. to review Waiting for reviews label Sep 27, 2022
@blizzz blizzz merged commit 19603fe into stable23 Sep 27, 2022
@blizzz blizzz deleted the backport/33332/stable23 branch September 27, 2022 06:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants