{"action":"closed","issue":{"url":"https://api.github.com/repos/pfraze/beaker/issues/20","repository_url":"https://api.github.com/repos/pfraze/beaker","labels_url":"https://api.github.com/repos/pfraze/beaker/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/pfraze/beaker/issues/20/comments","events_url":"https://api.github.com/repos/pfraze/beaker/issues/20/events","html_url":"https://github.com/pfraze/beaker/issues/20","id":163274658,"number":20,"title":"Update Dat & IPFS protocol handlers to set CSPs","user":{"login":"pfraze","id":1270099,"avatar_url":"https://avatars.githubusercontent.com/u/1270099?v=3","gravatar_id":"","url":"https://api.github.com/users/pfraze","html_url":"https://github.com/pfraze","followers_url":"https://api.github.com/users/pfraze/followers","following_url":"https://api.github.com/users/pfraze/following{/other_user}","gists_url":"https://api.github.com/users/pfraze/gists{/gist_id}","starred_url":"https://api.github.com/users/pfraze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pfraze/subscriptions","organizations_url":"https://api.github.com/users/pfraze/orgs","repos_url":"https://api.github.com/users/pfraze/repos","events_url":"https://api.github.com/users/pfraze/events{/privacy}","received_events_url":"https://api.github.com/users/pfraze/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pfraze/beaker/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-06-30T21:49:09Z","updated_at":"2016-07-01T01:26:12Z","closed_at":"2016-07-01T01:26:12Z","body":"The CSPs should disable any `unsafe-*` policies, and restrict requests to the current archive's origin.\r\n\r\nCurrently, the protocols are handled using Electron's `registerBufferProtocol`. Because `registerBufferProtocol` cant set the response headers, this change will require a change to `registerHttpProtocol`, and an internal HTTP server.\r\n\r\nThe HTTP server will be given a random port. To make sure no other process can access it, a nonce will be used in the requests.\r\n\r\n - [x] dat://\r\n - [x] view-dat://\r\n - [x] ipfs:/"}}
{"actor":{"display_login":"pfraze"}}