Skip to content

[stable-4.0] fix(asyncimageresponse): enhance check for received SVG response #9837

Merged
nilsding merged 5 commits intostable-4.0from
backport/9697/stable-4.0
Apr 14, 2026
Merged

[stable-4.0] fix(asyncimageresponse): enhance check for received SVG response #9837
nilsding merged 5 commits intostable-4.0from
backport/9697/stable-4.0

Conversation

@backportbot
Copy link
Copy Markdown

@backportbot backportbot Bot commented Apr 14, 2026

Backport of PR #9697

Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
Some SVG files do not start with `<svg`, but with `<?xml` and could include
some additional metadata (e.g. a generator comment or licence header ...)

Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
this may cause an infinite re-request loop if the layout does not match

Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
@backportbot backportbot Bot requested a review from Aiiaiiio as a code owner April 14, 2026 11:47
@backportbot backportbot Bot requested a review from mgallien April 14, 2026 11:47
@backportbot backportbot Bot added this to the 4.0.9 milestone Apr 14, 2026
@nilsding nilsding enabled auto-merge April 14, 2026 11:47
@github-actions
Copy link
Copy Markdown

Artifact containing the AppImage: nextcloud-appimage-pr-9837.zip

Digest: sha256:191be38e1f54ee45b12cc158681eadc76f8a2b6cceb268b9d499b63db7c223df

To test this change/fix you can download the above artifact file, unzip it, and run it.

Please make sure to quit your existing Nextcloud app and backup your data.

@nilsding nilsding merged commit 3590c9f into stable-4.0 Apr 14, 2026
15 of 17 checks passed
@nilsding nilsding deleted the backport/9697/stable-4.0 branch April 14, 2026 12:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant