{"action":"opened","number":7034,"pull_request":{"url":"https://api.github.com/repos/cakephp/cakephp/pulls/7034","id":40084311,"html_url":"https://github.com/cakephp/cakephp/pull/7034","diff_url":"https://github.com/cakephp/cakephp/pull/7034.diff","patch_url":"https://github.com/cakephp/cakephp/pull/7034.patch","issue_url":"https://api.github.com/repos/cakephp/cakephp/issues/7034","number":7034,"state":"open","locked":false,"title":"Ajax requests not properly returning 403","user":{"login":"adam1010","id":3019544,"avatar_url":"https://avatars.githubusercontent.com/u/3019544?v=3","gravatar_id":"","url":"https://api.github.com/users/adam1010","html_url":"https://github.com/adam1010","followers_url":"https://api.github.com/users/adam1010/followers","following_url":"https://api.github.com/users/adam1010/following{/other_user}","gists_url":"https://api.github.com/users/adam1010/gists{/gist_id}","starred_url":"https://api.github.com/users/adam1010/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adam1010/subscriptions","organizations_url":"https://api.github.com/users/adam1010/orgs","repos_url":"https://api.github.com/users/adam1010/repos","events_url":"https://api.github.com/users/adam1010/events{/privacy}","received_events_url":"https://api.github.com/users/adam1010/received_events","type":"User","site_admin":false},"body":"When an AJAX request is made to a page that's not authorized, an infinite redirect loop to  /status:403/exit:1  is triggered. This bug has existed at least since CakePHP v2.3.0. The main use case is when a user's session has expired and they try to use an authenticated feature as a logged-out user.","created_at":"2015-07-16T00:33:28Z","updated_at":"2015-07-16T00:33:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"dabf85d9c731c404a5b6985b08094c3295908e15","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/cakephp/cakephp/pulls/7034/commits","review_comments_url":"https://api.github.com/repos/cakephp/cakephp/pulls/7034/comments","review_comment_url":"https://api.github.com/repos/cakephp/cakephp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cakephp/cakephp/issues/7034/comments","statuses_url":"https://api.github.com/repos/cakephp/cakephp/statuses/d1dbc5b4b8584a268f745731f56cfd277958a573","head":{"label":"adam1010:patch-1","ref":"patch-1","sha":"d1dbc5b4b8584a268f745731f56cfd277958a573","user":{"login":"adam1010","id":3019544,"avatar_url":"https://avatars.githubusercontent.com/u/3019544?v=3","gravatar_id":"","url":"https://api.github.com/users/adam1010","html_url":"https://github.com/adam1010","followers_url":"https://api.github.com/users/adam1010/followers","following_url":"https://api.github.com/users/adam1010/following{/other_user}","gists_url":"https://api.github.com/users/adam1010/gists{/gist_id}","starred_url":"https://api.github.com/users/adam1010/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adam1010/subscriptions","organizations_url":"https://api.github.com/users/adam1010/orgs","repos_url":"https://api.github.com/users/adam1010/repos","events_url":"https://api.github.com/users/adam1010/events{/privacy}","received_events_url":"https://api.github.com/users/adam1010/received_events","type":"User","site_admin":false},"repo":{"id":8874529,"name":"cakephp","full_name":"adam1010/cakephp","owner":{"login":"adam1010","id":3019544,"avatar_url":"https://avatars.githubusercontent.com/u/3019544?v=3","gravatar_id":"","url":"https://api.github.com/users/adam1010","html_url":"https://github.com/adam1010","followers_url":"https://api.github.com/users/adam1010/followers","following_url":"https://api.github.com/users/adam1010/following{/other_user}","gists_url":"https://api.github.com/users/adam1010/gists{/gist_id}","starred_url":"https://api.github.com/users/adam1010/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adam1010/subscriptions","organizations_url":"https://api.github.com/users/adam1010/orgs","repos_url":"https://api.github.com/users/adam1010/repos","events_url":"https://api.github.com/users/adam1010/events{/privacy}","received_events_url":"https://api.github.com/users/adam1010/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/adam1010/cakephp","description":"CakePHP: The Rapid Development Framework for PHP - Official Repository","fork":true,"url":"https://api.github.com/repos/adam1010/cakephp","forks_url":"https://api.github.com/repos/adam1010/cakephp/forks","keys_url":"https://api.github.com/repos/adam1010/cakephp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/adam1010/cakephp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/adam1010/cakephp/teams","hooks_url":"https://api.github.com/repos/adam1010/cakephp/hooks","issue_events_url":"https://api.github.com/repos/adam1010/cakephp/issues/events{/number}","events_url":"https://api.github.com/repos/adam1010/cakephp/events","assignees_url":"https://api.github.com/repos/adam1010/cakephp/assignees{/user}","branches_url":"https://api.github.com/repos/adam1010/cakephp/branches{/branch}","tags_url":"https://api.github.com/repos/adam1010/cakephp/tags","blobs_url":"https://api.github.com/repos/adam1010/cakephp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/adam1010/cakephp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/adam1010/cakephp/git/refs{/sha}","trees_url":"https://api.github.com/repos/adam1010/cakephp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/adam1010/cakephp/statuses/{sha}","languages_url":"https://api.github.com/repos/adam1010/cakephp/languages","stargazers_url":"https://api.github.com/repos/adam1010/cakephp/stargazers","contributors_url":"https://api.github.com/repos/adam1010/cakephp/contributors","subscribers_url":"https://api.github.com/repos/adam1010/cakephp/subscribers","subscription_url":"https://api.github.com/repos/adam1010/cakephp/subscription","commits_url":"https://api.github.com/repos/adam1010/cakephp/commits{/sha}","git_commits_url":"https://api.github.com/repos/adam1010/cakephp/git/commits{/sha}","comments_url":"https://api.github.com/repos/adam1010/cakephp/comments{/number}","issue_comment_url":"https://api.github.com/repos/adam1010/cakephp/issues/comments{/number}","contents_url":"https://api.github.com/repos/adam1010/cakephp/contents/{+path}","compare_url":"https://api.github.com/repos/adam1010/cakephp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/adam1010/cakephp/merges","archive_url":"https://api.github.com/repos/adam1010/cakephp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/adam1010/cakephp/downloads","issues_url":"https://api.github.com/repos/adam1010/cakephp/issues{/number}","pulls_url":"https://api.github.com/repos/adam1010/cakephp/pulls{/number}","milestones_url":"https://api.github.com/repos/adam1010/cakephp/milestones{/number}","notifications_url":"https://api.github.com/repos/adam1010/cakephp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/adam1010/cakephp/labels{/name}","releases_url":"https://api.github.com/repos/adam1010/cakephp/releases{/id}","created_at":"2013-03-19T09:05:38Z","updated_at":"2013-03-27T07:58:23Z","pushed_at":"2015-07-16T00:33:00Z","git_url":"git://github.com/adam1010/cakephp.git","ssh_url":"git@github.com:adam1010/cakephp.git","clone_url":"https://github.com/adam1010/cakephp.git","svn_url":"https://github.com/adam1010/cakephp","homepage":"http://cakephp.org","size":35761,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"cakephp:2.8","ref":"2.8","sha":"4b974aeef2bd1a0baf235a74c66b1bc4104a20bc","user":{"login":"cakephp","id":23666,"avatar_url":"https://avatars.githubusercontent.com/u/23666?v=3","gravatar_id":"","url":"https://api.github.com/users/cakephp","html_url":"https://github.com/cakephp","followers_url":"https://api.github.com/users/cakephp/followers","following_url":"https://api.github.com/users/cakephp/following{/other_user}","gists_url":"https://api.github.com/users/cakephp/gists{/gist_id}","starred_url":"https://api.github.com/users/cakephp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cakephp/subscriptions","organizations_url":"https://api.github.com/users/cakephp/orgs","repos_url":"https://api.github.com/users/cakephp/repos","events_url":"https://api.github.com/users/cakephp/events{/privacy}","received_events_url":"https://api.github.com/users/cakephp/received_events","type":"Organization","site_admin":false},"repo":{"id":656494,"name":"cakephp","full_name":"cakephp/cakephp","owner":{"login":"cakephp","id":23666,"avatar_url":"https://avatars.githubusercontent.com/u/23666?v=3","gravatar_id":"","url":"https://api.github.com/users/cakephp","html_url":"https://github.com/cakephp","followers_url":"https://api.github.com/users/cakephp/followers","following_url":"https://api.github.com/users/cakephp/following{/other_user}","gists_url":"https://api.github.com/users/cakephp/gists{/gist_id}","starred_url":"https://api.github.com/users/cakephp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cakephp/subscriptions","organizations_url":"https://api.github.com/users/cakephp/orgs","repos_url":"https://api.github.com/users/cakephp/repos","events_url":"https://api.github.com/users/cakephp/events{/privacy}","received_events_url":"https://api.github.com/users/cakephp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cakephp/cakephp","description":"CakePHP: The Rapid Development Framework for PHP - Official Repository","fork":false,"url":"https://api.github.com/repos/cakephp/cakephp","forks_url":"https://api.github.com/repos/cakephp/cakephp/forks","keys_url":"https://api.github.com/repos/cakephp/cakephp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cakephp/cakephp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cakephp/cakephp/teams","hooks_url":"https://api.github.com/repos/cakephp/cakephp/hooks","issue_events_url":"https://api.github.com/repos/cakephp/cakephp/issues/events{/number}","events_url":"https://api.github.com/repos/cakephp/cakephp/events","assignees_url":"https://api.github.com/repos/cakephp/cakephp/assignees{/user}","branches_url":"https://api.github.com/repos/cakephp/cakephp/branches{/branch}","tags_url":"https://api.github.com/repos/cakephp/cakephp/tags","blobs_url":"https://api.github.com/repos/cakephp/cakephp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cakephp/cakephp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cakephp/cakephp/git/refs{/sha}","trees_url":"https://api.github.com/repos/cakephp/cakephp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cakephp/cakephp/statuses/{sha}","languages_url":"https://api.github.com/repos/cakephp/cakephp/languages","stargazers_url":"https://api.github.com/repos/cakephp/cakephp/stargazers","contributors_url":"https://api.github.com/repos/cakephp/cakephp/contributors","subscribers_url":"https://api.github.com/repos/cakephp/cakephp/subscribers","subscription_url":"https://api.github.com/repos/cakephp/cakephp/subscription","commits_url":"https://api.github.com/repos/cakephp/cakephp/commits{/sha}","git_commits_url":"https://api.github.com/repos/cakephp/cakephp/git/commits{/sha}","comments_url":"https://api.github.com/repos/cakephp/cakephp/comments{/number}","issue_comment_url":"https://api.github.com/repos/cakephp/cakephp/issues/comments{/number}","contents_url":"https://api.github.com/repos/cakephp/cakephp/contents/{+path}","compare_url":"https://api.github.com/repos/cakephp/cakephp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cakephp/cakephp/merges","archive_url":"https://api.github.com/repos/cakephp/cakephp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cakephp/cakephp/downloads","issues_url":"https://api.github.com/repos/cakephp/cakephp/issues{/number}","pulls_url":"https://api.github.com/repos/cakephp/cakephp/pulls{/number}","milestones_url":"https://api.github.com/repos/cakephp/cakephp/milestones{/number}","notifications_url":"https://api.github.com/repos/cakephp/cakephp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cakephp/cakephp/labels{/name}","releases_url":"https://api.github.com/repos/cakephp/cakephp/releases{/id}","created_at":"2010-05-08T14:38:22Z","updated_at":"2015-07-15T18:22:21Z","pushed_at":"2015-07-16T00:33:28Z","git_url":"git://github.com/cakephp/cakephp.git","ssh_url":"git@github.com:cakephp/cakephp.git","clone_url":"https://github.com/cakephp/cakephp.git","svn_url":"https://github.com/cakephp/cakephp","homepage":"http://cakephp.org","size":239398,"stargazers_count":5928,"watchers_count":5928,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":2674,"mirror_url":null,"open_issues_count":134,"forks":2674,"open_issues":134,"watchers":5928,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cakephp/cakephp/pulls/7034"},"html":{"href":"https://github.com/cakephp/cakephp/pull/7034"},"issue":{"href":"https://api.github.com/repos/cakephp/cakephp/issues/7034"},"comments":{"href":"https://api.github.com/repos/cakephp/cakephp/issues/7034/comments"},"review_comments":{"href":"https://api.github.com/repos/cakephp/cakephp/pulls/7034/comments"},"review_comment":{"href":"https://api.github.com/repos/cakephp/cakephp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cakephp/cakephp/pulls/7034/commits"},"statuses":{"href":"https://api.github.com/repos/cakephp/cakephp/statuses/d1dbc5b4b8584a268f745731f56cfd277958a573"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":3,"deletions":1,"changed_files":1}}