Skip to content

fix: SVG image not displayed on Links portlet - EXO-88864 - #844

Merged
hakermi merged 1 commit into
feature/maintenancefrom
TASK-88864
Jul 28, 2026
Merged

fix: SVG image not displayed on Links portlet - EXO-88864#844
hakermi merged 1 commit into
feature/maintenancefrom
TASK-88864

Conversation

@hakermi

@hakermi hakermi commented Jul 28, 2026

Copy link
Copy Markdown
Member

Prior to this change, link icons were always stored and served as "image/png", regardless of the uploaded file type. An SVG icon was therefore served with a wrong content type and couldn't be rendered by the browser, so no image appeared on the link item.

The icon is now stored with the real mime type and file name from the uploaded resource, and served with that content type (falling back to image/png when unknown).

Prior to this change, link icons were always stored and served as
"image/png", regardless of the uploaded file type. An SVG icon was
therefore served with a wrong content type and couldn't be rendered by
the browser, so no image appeared on the link item.

The icon is now stored with the real mime type and file name from the
uploaded resource, and served with that content type (falling back to
image/png when unknown).
@hakermi
hakermi requested a review from ahamdi July 28, 2026 15:02
@sonarqubecloud

Copy link
Copy Markdown

@hakermi
hakermi merged commit 4485592 into feature/maintenance Jul 28, 2026
10 checks passed
@hakermi
hakermi deleted the TASK-88864 branch July 28, 2026 16:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants