{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/core/issues/18096","labels_url":"https://api.github.com/repos/owncloud/core/issues/18096/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/core/issues/18096/comments","events_url":"https://api.github.com/repos/owncloud/core/issues/18096/events","html_url":"https://github.com/owncloud/core/pull/18096","id":99399419,"number":18096,"title":"add data: to allowed image domains","user":{"login":"sualko","id":2974196,"avatar_url":"https://avatars.githubusercontent.com/u/2974196?v=3","gravatar_id":"","url":"https://api.github.com/users/sualko","html_url":"https://github.com/sualko","followers_url":"https://api.github.com/users/sualko/followers","following_url":"https://api.github.com/users/sualko/following{/other_user}","gists_url":"https://api.github.com/users/sualko/gists{/gist_id}","starred_url":"https://api.github.com/users/sualko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sualko/subscriptions","organizations_url":"https://api.github.com/users/sualko/orgs","repos_url":"https://api.github.com/users/sualko/repos","events_url":"https://api.github.com/users/sualko/events{/privacy}","received_events_url":"https://api.github.com/users/sualko/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/owncloud/core/labels/2%20-%20Developing","name":"2 - Developing","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/owncloud/core/milestones/37","html_url":"https://github.com/owncloud/core/milestones/8.2-current","labels_url":"https://api.github.com/repos/owncloud/core/milestones/37/labels","id":993629,"number":37,"title":"8.2-current","description":"","creator":{"login":"craigpg","id":160667,"avatar_url":"https://avatars.githubusercontent.com/u/160667?v=3","gravatar_id":"","url":"https://api.github.com/users/craigpg","html_url":"https://github.com/craigpg","followers_url":"https://api.github.com/users/craigpg/followers","following_url":"https://api.github.com/users/craigpg/following{/other_user}","gists_url":"https://api.github.com/users/craigpg/gists{/gist_id}","starred_url":"https://api.github.com/users/craigpg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/craigpg/subscriptions","organizations_url":"https://api.github.com/users/craigpg/orgs","repos_url":"https://api.github.com/users/craigpg/repos","events_url":"https://api.github.com/users/craigpg/events{/privacy}","received_events_url":"https://api.github.com/users/craigpg/received_events","type":"User","site_admin":false},"open_issues":633,"closed_issues":275,"state":"open","created_at":"2015-02-24T16:19:37Z","updated_at":"2015-08-06T09:58:57Z","due_on":"2015-10-20T04:00:00Z","closed_at":null},"comments":5,"created_at":"2015-08-06T09:49:47Z","updated_at":"2015-08-06T09:59:39Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/owncloud/core/pulls/18096","html_url":"https://github.com/owncloud/core/pull/18096","diff_url":"https://github.com/owncloud/core/pull/18096.diff","patch_url":"https://github.com/owncloud/core/pull/18096.patch"},"body":"The default csp of the appframework is very restrictive and therefore avatars in my [chat application](https://apps.owncloud.com/content/show.php/JavaScript+XMPP+Chat?content=162257) are no longer displayed jsxc/jsxc#201 on pages which uses the appframework.\r\n\r\nI have to use data urls, because I receive base64 encoded images from the xmpp server and I do not see any security drawback for data urls."},"comment":{"url":"https://api.github.com/repos/owncloud/core/issues/comments/128313106","html_url":"https://github.com/owncloud/core/pull/18096#issuecomment-128313106","issue_url":"https://api.github.com/repos/owncloud/core/issues/18096","id":128313106,"user":{"login":"LukasReschke","id":878997,"avatar_url":"https://avatars.githubusercontent.com/u/878997?v=3","gravatar_id":"","url":"https://api.github.com/users/LukasReschke","html_url":"https://github.com/LukasReschke","followers_url":"https://api.github.com/users/LukasReschke/followers","following_url":"https://api.github.com/users/LukasReschke/following{/other_user}","gists_url":"https://api.github.com/users/LukasReschke/gists{/gist_id}","starred_url":"https://api.github.com/users/LukasReschke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LukasReschke/subscriptions","organizations_url":"https://api.github.com/users/LukasReschke/orgs","repos_url":"https://api.github.com/users/LukasReschke/repos","events_url":"https://api.github.com/users/LukasReschke/events{/privacy}","received_events_url":"https://api.github.com/users/LukasReschke/received_events","type":"User","site_admin":false},"created_at":"2015-08-06T09:59:39Z","updated_at":"2015-08-06T09:59:39Z","body":"You can find the tests at https://github.com/owncloud/core/blob/52085cc1ef4896a4fc549e6462985e627b21a119/tests/lib/appframework/http/ContentSecurityPolicyTest.php"}}