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

QR code not showing because of incorrect blob CSP #2241

Closed
4 tasks done
dessalines opened this issue Nov 28, 2023 · 0 comments
Closed
4 tasks done

QR code not showing because of incorrect blob CSP #2241

dessalines opened this issue Nov 28, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@dessalines
Copy link
Member

dessalines commented Nov 28, 2023

Requirements

  • This is a bug report, and if not, please post to https://lemmy.ml/c/lemmy_support instead.
  • Please check to see if this issue already exists.
  • It's a single bug. Do not report multiple bugs in one issue.
  • It's a frontend issue, not a backend issue; Otherwise please create an issue on the backend repo instead.

Summary

Getting this issue again, because I didn't do the blob CSP correctly.

Screenshot_20231128_090115_Kiwi Browser

Steps to Reproduce

  1. Try to enable 2FA
  2. QR code doesn't show

Technical Details

Error is :

Refused to load the image 'blob:https://lemmy.ml/XXX' because it violates the following Content Security Policy directive: "img-src * data:". Note that '*' matches only URLs with network schemes ('http', 'https', 'ws', 'wss'), or URLs whose scheme matches self's scheme. The scheme 'blob:' must be added explicitly.

Lemmy Instance Version

0.19.0-rc.8

Lemmy Instance URL

No response

@dessalines dessalines added the bug Something isn't working label Nov 28, 2023
dessalines added a commit that referenced this issue Nov 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant