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

fix: CSP problem in Safari #24

Merged
merged 1 commit into from
Dec 20, 2020
Merged

Conversation

lembdev
Copy link
Contributor

@lembdev lembdev commented Nov 25, 2020

This fix: Refused to load blob because it appears in neither the child-src directive nor the default-src directive of the Content Security Policy:

Something went wrong...

The operation is insecure.
Stack trace
[native code]
https://cdn.jsdelivr.net/npm/redoc/bundles/redoc.standalone.js:80:108229
https://cdn.jsdelivr.net/npm/redoc/bundles/redoc.standalone.js:94:33533
e@https://cdn.jsdelivr.net/npm/redoc/bundles/redoc.standalone.js:94:33534
e@https://cdn.jsdelivr.net/npm/redoc/bundles/redoc.standalone.js:94:83796
https://cdn.jsdelivr.net/npm/redoc/bundles/redoc.standalone.js:88:66420
https://cdn.jsdelivr.net/npm/redoc/bundles/redoc.standalone.js:88:67371
Fa@https://cdn.jsdelivr.net/npm/redoc/bundles/redoc.standalone.js:64:70125
cl@https://cdn.jsdelivr.net/npm/redoc/bundles/redoc.standalone.js:64:96962
sl@https://cdn.jsdelivr.net/npm/redoc/bundles/redoc.standalone.js:64:96887
Zs@https://cdn.jsdelivr.net/npm/redoc/bundles/redoc.standalone.js:64:93917
Zs@[native code]
https://cdn.jsdelivr.net/npm/redoc/bundles/redoc.standalone.js:64:45558
https://cdn.jsdelivr.net/npm/redoc/bundles/redoc.standalone.js:72:4087
Yo@https://cdn.jsdelivr.net/npm/redoc/bundles/redoc.standalone.js:64:45504
Vo@https://cdn.jsdelivr.net/npm/redoc/bundles/redoc.standalone.js:64:45439
Gs@https://cdn.jsdelivr.net/npm/redoc/bundles/redoc.standalone.js:64:90702
enqueueSetState@https://cdn.jsdelivr.net/npm/redoc/bundles/redoc.standalone.js:64:49224
https://cdn.jsdelivr.net/npm/redoc/bundles/redoc.standalone.js:56:1551
https://cdn.jsdelivr.net/npm/redoc/bundles/redoc.standalone.js:88:66996
https://cdn.jsdelivr.net/npm/redoc/bundles/redoc.standalone.js:22:2578
a@https://cdn.jsdelivr.net/npm/redoc/bundles/redoc.standalone.js:22:1422
promiseReactionJob@[native code]

ReDoc Version: 2.0.0-rc.45 
Commit: aa53416d

This problem appears latest Safari

This fix: Refused to load blob because it appears in neither the child-src directive nor the default-src directive of the Content Security Policy
@ojoanalogo ojoanalogo merged commit dc26ec5 into ojoanalogo:master Dec 20, 2020
@ojoanalogo
Copy link
Owner

Merged, thanks!

Releasing to npm asap

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.

None yet

2 participants