Skip to content

Commit

Permalink
Allow data: scheme for images in CSP (#185)
Browse files Browse the repository at this point in the history
  • Loading branch information
maximbaz authored and erayd committed Oct 19, 2019
1 parent cbab38f commit 250edc7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/manifest-chromium.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"http://*/*",
"https://*/*"
],
"content_security_policy": "default-src 'none'; font-src 'self'; img-src 'self'; script-src 'self'; style-src 'self'",
"content_security_policy": "default-src 'none'; font-src 'self'; img-src 'self' data:; script-src 'self'; style-src 'self'",
"commands": {
"_execute_browser_action": {
"suggested_key": {
Expand Down
2 changes: 1 addition & 1 deletion src/manifest-firefox.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"http://*/*",
"https://*/*"
],
"content_security_policy": "default-src 'none'; font-src 'self'; img-src 'self'; script-src 'self'; style-src 'self'",
"content_security_policy": "default-src 'none'; font-src 'self'; img-src 'self' data:; script-src 'self'; style-src 'self'",
"applications": {
"gecko": {
"id": "[email protected]",
Expand Down

0 comments on commit 250edc7

Please sign in to comment.