Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[stable30] fix: When previewing some SVG, 'btoa' report error: The string to be encoded contains characters outside of the Latin1 range." #2434

Merged
merged 1 commit into from
Aug 20, 2024

Conversation

backportbot[bot]
Copy link

@backportbot backportbot bot commented Aug 20, 2024

Backport of #2432

Warning, This backport's changes differ from the original and might be incomplete ⚠️

Todo

  • Review and resolve any conflicts
  • Amend HEAD commit to remove the line stating to skip CI

Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports.

…Window': The string to be encoded contains characters outside of the Latin1 range."

When previewing SVG, report error:

`viewer-main.mjs?v=79b66689-10:588 Error evaluating async computed property: Error: Failed to execute 'btoa' on 'Window': The string to be encoded contains characters outside of the Latin1 range.`

ref: https://stackoverflow.com/questions/23223718/failed-to-execute-btoa-on-window-the-string-to-be-encoded-contains-characte

Signed-off-by: XinRoom <32238570+XinRoom@users.noreply.github.com>

[skip ci]
@backportbot backportbot bot requested a review from skjnldsv August 20, 2024 09:20
@backportbot backportbot bot added bug Something isn't working 3. to review Waiting for reviews labels Aug 20, 2024
@backportbot backportbot bot added this to the Nextcloud 30.0.1 milestone Aug 20, 2024
@skjnldsv
Copy link
Member

/compile amend /

@skjnldsv skjnldsv marked this pull request as ready for review August 20, 2024 09:20
@skjnldsv skjnldsv merged commit 96c19f5 into stable30 Aug 20, 2024
2 checks passed
@skjnldsv skjnldsv deleted the backport/2432/stable30 branch August 20, 2024 09:25
@skjnldsv skjnldsv mentioned this pull request Aug 22, 2024
44 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants