{"action":"created","issue":{"url":"https://api.github.com/repos/servo/servo/issues/9472","repository_url":"https://api.github.com/repos/servo/servo","labels_url":"https://api.github.com/repos/servo/servo/issues/9472/labels{/name}","comments_url":"https://api.github.com/repos/servo/servo/issues/9472/comments","events_url":"https://api.github.com/repos/servo/servo/issues/9472/events","html_url":"https://github.com/servo/servo/issues/9472","id":130163395,"number":9472,"title":"CORS: preflight is needed if *not* all headers are simple","user":{"login":"bluetech","id":1223550,"avatar_url":"https://avatars.githubusercontent.com/u/1223550?v=3","gravatar_id":"","url":"https://api.github.com/users/bluetech","html_url":"https://github.com/bluetech","followers_url":"https://api.github.com/users/bluetech/followers","following_url":"https://api.github.com/users/bluetech/following{/other_user}","gists_url":"https://api.github.com/users/bluetech/gists{/gist_id}","starred_url":"https://api.github.com/users/bluetech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bluetech/subscriptions","organizations_url":"https://api.github.com/users/bluetech/orgs","repos_url":"https://api.github.com/users/bluetech/repos","events_url":"https://api.github.com/users/bluetech/events{/privacy}","received_events_url":"https://api.github.com/users/bluetech/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/servo/servo/labels/A-content/dom","name":"A-content/dom","color":"d7e102"},{"url":"https://api.github.com/repos/servo/servo/labels/A-network","name":"A-network","color":"d7e102"},{"url":"https://api.github.com/repos/servo/servo/labels/C-assigned","name":"C-assigned","color":"02d7e1"},{"url":"https://api.github.com/repos/servo/servo/labels/E-easy","name":"E-easy","color":"02e10c"},{"url":"https://api.github.com/repos/servo/servo/labels/I-papercut","name":"I-papercut","color":"e10c02"},{"url":"https://api.github.com/repos/servo/servo/labels/I-wrong","name":"I-wrong","color":"e10c02"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2016-01-31T18:26:49Z","updated_at":"2016-02-02T21:00:29Z","closed_at":null,"body":"Unless I'm mistaken/misreading the code, according to https://www.w3.org/TR/cors/#cross-origin-request-with-preflight-0 the conditional in the following line should be negated:\r\nhttps://github.com/servo/servo/blob/46b3eb653579a40632f91497a3d48f1d7fbd40cc/components/script/cors.rs#L80"},"comment":{"url":"https://api.github.com/repos/servo/servo/issues/comments/178816277","html_url":"https://github.com/servo/servo/issues/9472#issuecomment-178816277","issue_url":"https://api.github.com/repos/servo/servo/issues/9472","id":178816277,"user":{"login":"jdm","id":27658,"avatar_url":"https://avatars.githubusercontent.com/u/27658?v=3","gravatar_id":"","url":"https://api.github.com/users/jdm","html_url":"https://github.com/jdm","followers_url":"https://api.github.com/users/jdm/followers","following_url":"https://api.github.com/users/jdm/following{/other_user}","gists_url":"https://api.github.com/users/jdm/gists{/gist_id}","starred_url":"https://api.github.com/users/jdm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdm/subscriptions","organizations_url":"https://api.github.com/users/jdm/orgs","repos_url":"https://api.github.com/users/jdm/repos","events_url":"https://api.github.com/users/jdm/events{/privacy}","received_events_url":"https://api.github.com/users/jdm/received_events","type":"User","site_admin":false},"created_at":"2016-02-02T21:00:29Z","updated_at":"2016-02-02T21:00:29Z","body":"It's possible that our implementation wasn't performing a CORS check previously and now it is, and it's also possible that our CORS check implementation is incorrect and causing a test failure now."}}