Skip to content

Conversation

@max-nextcloud
Copy link
Collaborator

Rebase of #2168 by @DerpgonCz

Summary
When the image URL is a data URL, render the image as-is with src="dataUrl". No need to fetch anything.

Also prevents a race condition while loading images.

Related for stable23: #2153

Resolves: #1827

DerpgonCz and others added 3 commits February 7, 2022 14:49
Signed-off-by: Michal Junek <michal@junek.pw>
Signed-off-by: Michal Junek <michal@junek.pw>
@max-nextcloud max-nextcloud merged commit 7f12439 into master Mar 1, 2022
@delete-merged-branch delete-merged-branch bot deleted the DerpgonCz-fix/master/image_data_urls branch March 1, 2022 14:06
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.

"data:" URLs handled wrong for images

4 participants