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

Content-Security-Policy (CSP) warning #624

Closed
da2x opened this issue Nov 17, 2018 · 2 comments
Closed

Content-Security-Policy (CSP) warning #624

da2x opened this issue Nov 17, 2018 · 2 comments
Labels
P3 Low: Not priority right now status/deferred Conscious decision to pause or backlog

Comments

@da2x
Copy link

da2x commented Nov 17, 2018

Visit a web page with a strict CSP such as Content-Security-Policy: default-src: none. (This works as a test page.)

The extension generates a console error message:

Content Security Policy: The page’s settings blocked the loading of a resource at inline (“default-src”).

I have a ton of extensions with content scripts installed, and this is the only one that triggers CSP warnings. I’ve not analyzed what IPFS Companion is doing that causes the warning.

Firefox Nightly 65.0a1 (2018-11-16)

@lidel lidel added this to the window.ipfs 2.0 milestone Nov 21, 2018
@lidel lidel added status/deferred Conscious decision to pause or backlog P4 - Very Low labels Nov 21, 2018
@lidel
Copy link
Member

lidel commented Nov 21, 2018

Good catch @da2x!

I am quite sure this is caused by window.ipfs experiment, which injects API via customized instance of ipfs-postmsg-proxy. We will look into this warning as a part of #589 and milestone/15.

For now, try disabling it on Preferences screen:

2018-11-21--18-36-35

The error should go away.

@jessicaschilling jessicaschilling added P3 Low: Not priority right now and removed P4 - Very Low labels Mar 30, 2020
@lidel
Copy link
Member

lidel commented Oct 19, 2020

Closing due to #589 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P3 Low: Not priority right now status/deferred Conscious decision to pause or backlog
Projects
None yet
Development

No branches or pull requests

3 participants