{"action":"created","issue":{"url":"https://api.github.com/repos/TryGhost/Ghost/issues/6644","repository_url":"https://api.github.com/repos/TryGhost/Ghost","labels_url":"https://api.github.com/repos/TryGhost/Ghost/issues/6644/labels{/name}","comments_url":"https://api.github.com/repos/TryGhost/Ghost/issues/6644/comments","events_url":"https://api.github.com/repos/TryGhost/Ghost/issues/6644/events","html_url":"https://github.com/TryGhost/Ghost/pull/6644","id":143742646,"number":6644,"title":"Relax origin header checking","user":{"login":"jaswilli","id":214142,"avatar_url":"https://avatars.githubusercontent.com/u/214142?v=3","gravatar_id":"","url":"https://api.github.com/users/jaswilli","html_url":"https://github.com/jaswilli","followers_url":"https://api.github.com/users/jaswilli/followers","following_url":"https://api.github.com/users/jaswilli/following{/other_user}","gists_url":"https://api.github.com/users/jaswilli/gists{/gist_id}","starred_url":"https://api.github.com/users/jaswilli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaswilli/subscriptions","organizations_url":"https://api.github.com/users/jaswilli/orgs","repos_url":"https://api.github.com/users/jaswilli/repos","events_url":"https://api.github.com/users/jaswilli/events{/privacy}","received_events_url":"https://api.github.com/users/jaswilli/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-03-26T19:38:40Z","updated_at":"2016-03-31T15:55:58Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/TryGhost/Ghost/pulls/6644","html_url":"https://github.com/TryGhost/Ghost/pull/6644","diff_url":"https://github.com/TryGhost/Ghost/pull/6644.diff","patch_url":"https://github.com/TryGhost/Ghost/pull/6644.patch"},"body":"* Do not send CORS headers for origins that are not whitelisted  but otherwise allow the response to proceed normally. This enforces CORS for the browser but does not blow up non-CORS requests.\r\n\r\nVery much open to discussion. See https://github.com/TryGhost/Ghost/pull/6642#issuecomment-201908046"},"comment":{"url":"https://api.github.com/repos/TryGhost/Ghost/issues/comments/203998352","html_url":"https://github.com/TryGhost/Ghost/pull/6644#issuecomment-203998352","issue_url":"https://api.github.com/repos/TryGhost/Ghost/issues/6644","id":203998352,"user":{"login":"jaswilli","id":214142,"avatar_url":"https://avatars.githubusercontent.com/u/214142?v=3","gravatar_id":"","url":"https://api.github.com/users/jaswilli","html_url":"https://github.com/jaswilli","followers_url":"https://api.github.com/users/jaswilli/followers","following_url":"https://api.github.com/users/jaswilli/following{/other_user}","gists_url":"https://api.github.com/users/jaswilli/gists{/gist_id}","starred_url":"https://api.github.com/users/jaswilli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaswilli/subscriptions","organizations_url":"https://api.github.com/users/jaswilli/orgs","repos_url":"https://api.github.com/users/jaswilli/repos","events_url":"https://api.github.com/users/jaswilli/events{/privacy}","received_events_url":"https://api.github.com/users/jaswilli/received_events","type":"User","site_admin":false},"created_at":"2016-03-31T15:55:58Z","updated_at":"2016-03-31T15:55:58Z","body":"Actually, scratch that. Amending this commit was a mistake since I had this rebased onto #6646.\r\n\r\nNew plan: I'm going to close #6646 and cherry-pick its commit onto this PR. A single PR with the two commits is probably less confusing history anyway."}}