{"action":"closed","number":1216,"pull_request":{"url":"https://api.github.com/repos/octobercms/october/pulls/1216","id":37918760,"html_url":"https://github.com/octobercms/october/pull/1216","diff_url":"https://github.com/octobercms/october/pull/1216.diff","patch_url":"https://github.com/octobercms/october/pull/1216.patch","issue_url":"https://api.github.com/repos/octobercms/october/issues/1216","number":1216,"state":"closed","locked":false,"title":"Fix csrf in framework js","user":{"login":"keiosweb","id":10880818,"avatar_url":"https://avatars.githubusercontent.com/u/10880818?v=3","gravatar_id":"","url":"https://api.github.com/users/keiosweb","html_url":"https://github.com/keiosweb","followers_url":"https://api.github.com/users/keiosweb/followers","following_url":"https://api.github.com/users/keiosweb/following{/other_user}","gists_url":"https://api.github.com/users/keiosweb/gists{/gist_id}","starred_url":"https://api.github.com/users/keiosweb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keiosweb/subscriptions","organizations_url":"https://api.github.com/users/keiosweb/orgs","repos_url":"https://api.github.com/users/keiosweb/repos","events_url":"https://api.github.com/users/keiosweb/events{/privacy}","received_events_url":"https://api.github.com/users/keiosweb/received_events","type":"User","site_admin":false},"body":"Related to: https://github.com/octobercms/library/issues/105, extracts XSRF token from cookie and injects it into AJAX request as a X-XSRF-TOKEN header (works exactly the same as in angular.js).","created_at":"2015-06-17T16:14:38Z","updated_at":"2015-06-17T16:40:11Z","closed_at":"2015-06-17T16:40:11Z","merged_at":null,"merge_commit_sha":"9aa551ca725e6d1e0896698c4a579b81ecdcce4f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/octobercms/october/pulls/1216/commits","review_comments_url":"https://api.github.com/repos/octobercms/october/pulls/1216/comments","review_comment_url":"https://api.github.com/repos/octobercms/october/pulls/comments{/number}","comments_url":"https://api.github.com/repos/octobercms/october/issues/1216/comments","statuses_url":"https://api.github.com/repos/octobercms/october/statuses/aa245a475f034c2795f24cc4c9f30ae84d30beb8","head":{"label":"keiosweb:fix_CSRF_in_framework_js","ref":"fix_CSRF_in_framework_js","sha":"aa245a475f034c2795f24cc4c9f30ae84d30beb8","user":{"login":"keiosweb","id":10880818,"avatar_url":"https://avatars.githubusercontent.com/u/10880818?v=3","gravatar_id":"","url":"https://api.github.com/users/keiosweb","html_url":"https://github.com/keiosweb","followers_url":"https://api.github.com/users/keiosweb/followers","following_url":"https://api.github.com/users/keiosweb/following{/other_user}","gists_url":"https://api.github.com/users/keiosweb/gists{/gist_id}","starred_url":"https://api.github.com/users/keiosweb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keiosweb/subscriptions","organizations_url":"https://api.github.com/users/keiosweb/orgs","repos_url":"https://api.github.com/users/keiosweb/repos","events_url":"https://api.github.com/users/keiosweb/events{/privacy}","received_events_url":"https://api.github.com/users/keiosweb/received_events","type":"User","site_admin":false},"repo":{"id":37595963,"name":"october","full_name":"keiosweb/october","owner":{"login":"keiosweb","id":10880818,"avatar_url":"https://avatars.githubusercontent.com/u/10880818?v=3","gravatar_id":"","url":"https://api.github.com/users/keiosweb","html_url":"https://github.com/keiosweb","followers_url":"https://api.github.com/users/keiosweb/followers","following_url":"https://api.github.com/users/keiosweb/following{/other_user}","gists_url":"https://api.github.com/users/keiosweb/gists{/gist_id}","starred_url":"https://api.github.com/users/keiosweb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keiosweb/subscriptions","organizations_url":"https://api.github.com/users/keiosweb/orgs","repos_url":"https://api.github.com/users/keiosweb/repos","events_url":"https://api.github.com/users/keiosweb/events{/privacy}","received_events_url":"https://api.github.com/users/keiosweb/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/keiosweb/october","description":"Free, open-source, self-hosted CMS platform based on the Laravel PHP Framework.","fork":true,"url":"https://api.github.com/repos/keiosweb/october","forks_url":"https://api.github.com/repos/keiosweb/october/forks","keys_url":"https://api.github.com/repos/keiosweb/october/keys{/key_id}","collaborators_url":"https://api.github.com/repos/keiosweb/october/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/keiosweb/october/teams","hooks_url":"https://api.github.com/repos/keiosweb/october/hooks","issue_events_url":"https://api.github.com/repos/keiosweb/october/issues/events{/number}","events_url":"https://api.github.com/repos/keiosweb/october/events","assignees_url":"https://api.github.com/repos/keiosweb/october/assignees{/user}","branches_url":"https://api.github.com/repos/keiosweb/october/branches{/branch}","tags_url":"https://api.github.com/repos/keiosweb/october/tags","blobs_url":"https://api.github.com/repos/keiosweb/october/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/keiosweb/october/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/keiosweb/october/git/refs{/sha}","trees_url":"https://api.github.com/repos/keiosweb/october/git/trees{/sha}","statuses_url":"https://api.github.com/repos/keiosweb/october/statuses/{sha}","languages_url":"https://api.github.com/repos/keiosweb/october/languages","stargazers_url":"https://api.github.com/repos/keiosweb/october/stargazers","contributors_url":"https://api.github.com/repos/keiosweb/october/contributors","subscribers_url":"https://api.github.com/repos/keiosweb/october/subscribers","subscription_url":"https://api.github.com/repos/keiosweb/october/subscription","commits_url":"https://api.github.com/repos/keiosweb/october/commits{/sha}","git_commits_url":"https://api.github.com/repos/keiosweb/october/git/commits{/sha}","comments_url":"https://api.github.com/repos/keiosweb/october/comments{/number}","issue_comment_url":"https://api.github.com/repos/keiosweb/october/issues/comments{/number}","contents_url":"https://api.github.com/repos/keiosweb/october/contents/{+path}","compare_url":"https://api.github.com/repos/keiosweb/october/compare/{base}...{head}","merges_url":"https://api.github.com/repos/keiosweb/october/merges","archive_url":"https://api.github.com/repos/keiosweb/october/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/keiosweb/october/downloads","issues_url":"https://api.github.com/repos/keiosweb/october/issues{/number}","pulls_url":"https://api.github.com/repos/keiosweb/october/pulls{/number}","milestones_url":"https://api.github.com/repos/keiosweb/october/milestones{/number}","notifications_url":"https://api.github.com/repos/keiosweb/october/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/keiosweb/october/labels{/name}","releases_url":"https://api.github.com/repos/keiosweb/october/releases{/id}","created_at":"2015-06-17T13:16:45Z","updated_at":"2015-06-17T13:16:47Z","pushed_at":"2015-06-17T16:09:38Z","git_url":"git://github.com/keiosweb/october.git","ssh_url":"git@github.com:keiosweb/october.git","clone_url":"https://github.com/keiosweb/october.git","svn_url":"https://github.com/keiosweb/october","homepage":"http://octobercms.com/","size":31399,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"octobercms:develop","ref":"develop","sha":"91c061f60a0e9da8d9b6940df1269f03ef398b57","user":{"login":"octobercms","id":5554805,"avatar_url":"https://avatars.githubusercontent.com/u/5554805?v=3","gravatar_id":"","url":"https://api.github.com/users/octobercms","html_url":"https://github.com/octobercms","followers_url":"https://api.github.com/users/octobercms/followers","following_url":"https://api.github.com/users/octobercms/following{/other_user}","gists_url":"https://api.github.com/users/octobercms/gists{/gist_id}","starred_url":"https://api.github.com/users/octobercms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/octobercms/subscriptions","organizations_url":"https://api.github.com/users/octobercms/orgs","repos_url":"https://api.github.com/users/octobercms/repos","events_url":"https://api.github.com/users/octobercms/events{/privacy}","received_events_url":"https://api.github.com/users/octobercms/received_events","type":"Organization","site_admin":false},"repo":{"id":14732311,"name":"october","full_name":"octobercms/october","owner":{"login":"octobercms","id":5554805,"avatar_url":"https://avatars.githubusercontent.com/u/5554805?v=3","gravatar_id":"","url":"https://api.github.com/users/octobercms","html_url":"https://github.com/octobercms","followers_url":"https://api.github.com/users/octobercms/followers","following_url":"https://api.github.com/users/octobercms/following{/other_user}","gists_url":"https://api.github.com/users/octobercms/gists{/gist_id}","starred_url":"https://api.github.com/users/octobercms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/octobercms/subscriptions","organizations_url":"https://api.github.com/users/octobercms/orgs","repos_url":"https://api.github.com/users/octobercms/repos","events_url":"https://api.github.com/users/octobercms/events{/privacy}","received_events_url":"https://api.github.com/users/octobercms/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/octobercms/october","description":"Free, open-source, self-hosted CMS platform based on the Laravel PHP Framework.","fork":false,"url":"https://api.github.com/repos/octobercms/october","forks_url":"https://api.github.com/repos/octobercms/october/forks","keys_url":"https://api.github.com/repos/octobercms/october/keys{/key_id}","collaborators_url":"https://api.github.com/repos/octobercms/october/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/octobercms/october/teams","hooks_url":"https://api.github.com/repos/octobercms/october/hooks","issue_events_url":"https://api.github.com/repos/octobercms/october/issues/events{/number}","events_url":"https://api.github.com/repos/octobercms/october/events","assignees_url":"https://api.github.com/repos/octobercms/october/assignees{/user}","branches_url":"https://api.github.com/repos/octobercms/october/branches{/branch}","tags_url":"https://api.github.com/repos/octobercms/october/tags","blobs_url":"https://api.github.com/repos/octobercms/october/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/octobercms/october/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/octobercms/october/git/refs{/sha}","trees_url":"https://api.github.com/repos/octobercms/october/git/trees{/sha}","statuses_url":"https://api.github.com/repos/octobercms/october/statuses/{sha}","languages_url":"https://api.github.com/repos/octobercms/october/languages","stargazers_url":"https://api.github.com/repos/octobercms/october/stargazers","contributors_url":"https://api.github.com/repos/octobercms/october/contributors","subscribers_url":"https://api.github.com/repos/octobercms/october/subscribers","subscription_url":"https://api.github.com/repos/octobercms/october/subscription","commits_url":"https://api.github.com/repos/octobercms/october/commits{/sha}","git_commits_url":"https://api.github.com/repos/octobercms/october/git/commits{/sha}","comments_url":"https://api.github.com/repos/octobercms/october/comments{/number}","issue_comment_url":"https://api.github.com/repos/octobercms/october/issues/comments{/number}","contents_url":"https://api.github.com/repos/octobercms/october/contents/{+path}","compare_url":"https://api.github.com/repos/octobercms/october/compare/{base}...{head}","merges_url":"https://api.github.com/repos/octobercms/october/merges","archive_url":"https://api.github.com/repos/octobercms/october/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/octobercms/october/downloads","issues_url":"https://api.github.com/repos/octobercms/october/issues{/number}","pulls_url":"https://api.github.com/repos/octobercms/october/pulls{/number}","milestones_url":"https://api.github.com/repos/octobercms/october/milestones{/number}","notifications_url":"https://api.github.com/repos/octobercms/october/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/octobercms/october/labels{/name}","releases_url":"https://api.github.com/repos/octobercms/october/releases{/id}","created_at":"2013-11-26T23:30:43Z","updated_at":"2015-06-17T09:13:53Z","pushed_at":"2015-06-17T16:14:38Z","git_url":"git://github.com/octobercms/october.git","ssh_url":"git@github.com:octobercms/october.git","clone_url":"https://github.com/octobercms/october.git","svn_url":"https://github.com/octobercms/october","homepage":"http://octobercms.com/","size":31399,"stargazers_count":2955,"watchers_count":2955,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":637,"mirror_url":null,"open_issues_count":78,"forks":637,"open_issues":78,"watchers":2955,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/octobercms/october/pulls/1216"},"html":{"href":"https://github.com/octobercms/october/pull/1216"},"issue":{"href":"https://api.github.com/repos/octobercms/october/issues/1216"},"comments":{"href":"https://api.github.com/repos/octobercms/october/issues/1216/comments"},"review_comments":{"href":"https://api.github.com/repos/octobercms/october/pulls/1216/comments"},"review_comment":{"href":"https://api.github.com/repos/octobercms/october/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/octobercms/october/pulls/1216/commits"},"statuses":{"href":"https://api.github.com/repos/octobercms/october/statuses/aa245a475f034c2795f24cc4c9f30ae84d30beb8"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":1,"review_comments":0,"commits":2,"additions":17,"deletions":1,"changed_files":1}}