packagist: resources not loaded due to content-security policy
It’s not a big issue, but images linked in GitHub readme files don’t load giving a console error
rfc1867:1 Refused to load the image 'https://raw.github.com/Lewiscowles1986/rfc1867/HEAD/diagram/class-relationship.png?raw=true' because it violates the following Content Security Policy directive: "img-src 'self' https://www.gravatar.com/ https://camo.githubusercontent.com/ https://ssl.google-analytics.com/ http://www.google-analytics.com/".
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Reactions: 4
- Comments: 17 (4 by maintainers)
Commits related to this issue
- Fix more CSP issues, refs #879 — committed to composer/packagist by Seldaek 6 years ago
Hi,
I’m having the same problem with README.md from a repository in GitLab. The links of the images are from my site and also the badges of Shields.io.
Any ideas or suggestions?