{"action":"created","issue":{"url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/issues/1132","labels_url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/issues/1132/labels{/name}","comments_url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/issues/1132/comments","events_url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/issues/1132/events","html_url":"https://github.com/ezsystems/ezpublish-kernel/pull/1132","id":53994685,"number":1132,"title":"EZP-23889: RestProvider must check that is_rest_request is true","user":{"login":"piribes","id":3105723,"avatar_url":"https://avatars.githubusercontent.com/u/3105723?v=3","gravatar_id":"","url":"https://api.github.com/users/piribes","html_url":"https://github.com/piribes","followers_url":"https://api.github.com/users/piribes/followers","following_url":"https://api.github.com/users/piribes/following{/other_user}","gists_url":"https://api.github.com/users/piribes/gists{/gist_id}","starred_url":"https://api.github.com/users/piribes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/piribes/subscriptions","organizations_url":"https://api.github.com/users/piribes/orgs","repos_url":"https://api.github.com/users/piribes/repos","events_url":"https://api.github.com/users/piribes/events{/privacy}","received_events_url":"https://api.github.com/users/piribes/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-01-11T15:27:35Z","updated_at":"2015-01-16T10:23:01Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/pulls/1132","html_url":"https://github.com/ezsystems/ezpublish-kernel/pull/1132","diff_url":"https://github.com/ezsystems/ezpublish-kernel/pull/1132.diff","patch_url":"https://github.com/ezsystems/ezpublish-kernel/pull/1132.patch"},"body":"Otherwise the 'allowed_methods' previously set by \\Nelmio\\CorsBundle\\Options\\ConfigProvider in \\Nelmio\\CorsBundle\\Options\\Resolver::getOptions will be overwritten with value of $return['allow_methods'] due to array_merge()\r\nAt least on my setup ;)"},"comment":{"url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/issues/comments/70234508","html_url":"https://github.com/ezsystems/ezpublish-kernel/pull/1132#issuecomment-70234508","issue_url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/issues/1132","id":70234508,"user":{"login":"andrerom","id":289757,"avatar_url":"https://avatars.githubusercontent.com/u/289757?v=3","gravatar_id":"","url":"https://api.github.com/users/andrerom","html_url":"https://github.com/andrerom","followers_url":"https://api.github.com/users/andrerom/followers","following_url":"https://api.github.com/users/andrerom/following{/other_user}","gists_url":"https://api.github.com/users/andrerom/gists{/gist_id}","starred_url":"https://api.github.com/users/andrerom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrerom/subscriptions","organizations_url":"https://api.github.com/users/andrerom/orgs","repos_url":"https://api.github.com/users/andrerom/repos","events_url":"https://api.github.com/users/andrerom/events{/privacy}","received_events_url":"https://api.github.com/users/andrerom/received_events","type":"User","site_admin":false},"created_at":"2015-01-16T10:23:01Z","updated_at":"2015-01-16T10:23:01Z","body":"Thanks!\r\nSo almost ready, only thing is making branch ready for merge by cleaning it up and refer to issue in commit. Should be something like:\r\n\r\n```bash\r\n# Assuming eZ repo remote is called 'upstream' here, first fetch in changes\r\ngit fetch upstream\r\ngit rebase -i upstream/master\r\n# You will now get a editor where you can mark the 05bba32 with 'r' for reword\r\n# comment out the merge and continue\r\n```"}}