{"action":"created","issue":{"url":"https://api.github.com/repos/cakephp/cakephp/issues/10828","repository_url":"https://api.github.com/repos/cakephp/cakephp","labels_url":"https://api.github.com/repos/cakephp/cakephp/issues/10828/labels{/name}","comments_url":"https://api.github.com/repos/cakephp/cakephp/issues/10828/comments","events_url":"https://api.github.com/repos/cakephp/cakephp/issues/10828/events","html_url":"https://github.com/cakephp/cakephp/pull/10828","id":238565425,"number":10828,"title":"Check for session.use_trans_sid and session ID in URL when cookies are disabled","user":{"login":"mensler","id":6129516,"avatar_url":"https://avatars1.githubusercontent.com/u/6129516?v=4","gravatar_id":"","url":"https://api.github.com/users/mensler","html_url":"https://github.com/mensler","followers_url":"https://api.github.com/users/mensler/followers","following_url":"https://api.github.com/users/mensler/following{/other_user}","gists_url":"https://api.github.com/users/mensler/gists{/gist_id}","starred_url":"https://api.github.com/users/mensler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mensler/subscriptions","organizations_url":"https://api.github.com/users/mensler/orgs","repos_url":"https://api.github.com/users/mensler/repos","events_url":"https://api.github.com/users/mensler/events{/privacy}","received_events_url":"https://api.github.com/users/mensler/received_events","type":"User","site_admin":false},"labels":[{"id":366710687,"url":"https://api.github.com/repos/cakephp/cakephp/labels/http","name":"http","color":"ffffff","default":false},{"id":60506869,"url":"https://api.github.com/repos/cakephp/cakephp/labels/security","name":"security","color":"FFFFFF","default":false}],"state":"closed","locked":false,"assignee":{"login":"markstory","id":24086,"avatar_url":"https://avatars3.githubusercontent.com/u/24086?v=4","gravatar_id":"","url":"https://api.github.com/users/markstory","html_url":"https://github.com/markstory","followers_url":"https://api.github.com/users/markstory/followers","following_url":"https://api.github.com/users/markstory/following{/other_user}","gists_url":"https://api.github.com/users/markstory/gists{/gist_id}","starred_url":"https://api.github.com/users/markstory/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markstory/subscriptions","organizations_url":"https://api.github.com/users/markstory/orgs","repos_url":"https://api.github.com/users/markstory/repos","events_url":"https://api.github.com/users/markstory/events{/privacy}","received_events_url":"https://api.github.com/users/markstory/received_events","type":"User","site_admin":false},"assignees":[{"login":"markstory","id":24086,"avatar_url":"https://avatars3.githubusercontent.com/u/24086?v=4","gravatar_id":"","url":"https://api.github.com/users/markstory","html_url":"https://github.com/markstory","followers_url":"https://api.github.com/users/markstory/followers","following_url":"https://api.github.com/users/markstory/following{/other_user}","gists_url":"https://api.github.com/users/markstory/gists{/gist_id}","starred_url":"https://api.github.com/users/markstory/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markstory/subscriptions","organizations_url":"https://api.github.com/users/markstory/orgs","repos_url":"https://api.github.com/users/markstory/repos","events_url":"https://api.github.com/users/markstory/events{/privacy}","received_events_url":"https://api.github.com/users/markstory/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/cakephp/cakephp/milestones/136","html_url":"https://github.com/cakephp/cakephp/milestone/136","labels_url":"https://api.github.com/repos/cakephp/cakephp/milestones/136/labels","id":2603377,"number":136,"title":"3.4.10","description":"Bugfixes and small features for 3.4.","creator":{"login":"markstory","id":24086,"avatar_url":"https://avatars3.githubusercontent.com/u/24086?v=4","gravatar_id":"","url":"https://api.github.com/users/markstory","html_url":"https://github.com/markstory","followers_url":"https://api.github.com/users/markstory/followers","following_url":"https://api.github.com/users/markstory/following{/other_user}","gists_url":"https://api.github.com/users/markstory/gists{/gist_id}","starred_url":"https://api.github.com/users/markstory/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markstory/subscriptions","organizations_url":"https://api.github.com/users/markstory/orgs","repos_url":"https://api.github.com/users/markstory/repos","events_url":"https://api.github.com/users/markstory/events{/privacy}","received_events_url":"https://api.github.com/users/markstory/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":30,"state":"closed","created_at":"2017-06-26T02:04:18Z","updated_at":"2017-07-10T01:39:52Z","due_on":"2017-07-09T07:00:00Z","closed_at":"2017-07-10T01:39:52Z"},"comments":14,"created_at":"2017-06-26T14:41:27Z","updated_at":"2017-09-22T07:20:15Z","closed_at":"2017-07-07T01:41:45Z","author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/cakephp/cakephp/pulls/10828","html_url":"https://github.com/cakephp/cakephp/pull/10828","diff_url":"https://github.com/cakephp/cakephp/pull/10828.diff","patch_url":"https://github.com/cakephp/cakephp/pull/10828.patch"},"body":"If cookies are disabled in the browser and the session ID is passed via URL Cake doesn't recognize that a session exists and calls of Session::read() or check() before the first write() will fail.\r\n\r\nAn alternative would be to start the session in read() and check() like it's done in write(). But I like it better this way fixing the check, what do you think?\r\n\r\nIt would be great if this could be backported to Cake2, I can create another PR for this if you like."},"comment":{"url":"https://api.github.com/repos/cakephp/cakephp/issues/comments/331370893","html_url":"https://github.com/cakephp/cakephp/pull/10828#issuecomment-331370893","issue_url":"https://api.github.com/repos/cakephp/cakephp/issues/10828","id":331370893,"user":{"login":"bancer","id":3830106,"avatar_url":"https://avatars3.githubusercontent.com/u/3830106?v=4","gravatar_id":"","url":"https://api.github.com/users/bancer","html_url":"https://github.com/bancer","followers_url":"https://api.github.com/users/bancer/followers","following_url":"https://api.github.com/users/bancer/following{/other_user}","gists_url":"https://api.github.com/users/bancer/gists{/gist_id}","starred_url":"https://api.github.com/users/bancer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bancer/subscriptions","organizations_url":"https://api.github.com/users/bancer/orgs","repos_url":"https://api.github.com/users/bancer/repos","events_url":"https://api.github.com/users/bancer/events{/privacy}","received_events_url":"https://api.github.com/users/bancer/received_events","type":"User","site_admin":false},"created_at":"2017-09-22T07:20:15Z","updated_at":"2017-09-22T07:20:15Z","author_association":"CONTRIBUTOR","body":"Could that be back ported to Cake 2.x?"}}
{"actor":{"display_login":"bancer"}}