8000 fix: clicking on svg image quick views break open of that svg file by abose · Pull Request #1760 · phcode-dev/phoenix · GitHub
[go: up one dir, main page]

Skip to content

Conversation

@abose
Copy link
Member
@abose abose commented Jul 16, 2024

This was as we always read images for quick view as binary and base64 encoded it. But for SVG files, if we read it as binary once, it gets cached as binary encoding, and will never read as htf8 text if not explicitly specified. since normal flows wont specify it, the file cannot be opened again due to encoding mismatch.

@phoenixide
Copy link
Member

Thank You for making this pull request.

@sonarqubecloud
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
B Maintainability Rating on New Code (required ≥ A)

See analysis details on SonarCloud

Catch issues before they fail your Quality Gate with our IDE extension SonarLint

@abose abose merged commit c92307b into main Jul 16, 2024
@abose abose deleted the p branch July 16, 2024 13:48
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.

3 participants

0