{"action":"created","issue":{"url":"https://api.github.com/repos/nextcloud/server/issues/2441","repository_url":"https://api.github.com/repos/nextcloud/server","labels_url":"https://api.github.com/repos/nextcloud/server/issues/2441/labels{/name}","comments_url":"https://api.github.com/repos/nextcloud/server/issues/2441/comments","events_url":"https://api.github.com/repos/nextcloud/server/issues/2441/events","html_url":"https://github.com/nextcloud/server/pull/2441","id":192886046,"number":2441,"title":"Prevent endless loop in \\OC\\Files\\View::createParentDirectories","user":{"login":"LukasReschke","id":878997,"avatar_url":"https://avatars.githubusercontent.com/u/878997?v=3","gravatar_id":"","url":"https://api.github.com/users/LukasReschke","html_url":"https://github.com/LukasReschke","followers_url":"https://api.github.com/users/LukasReschke/followers","following_url":"https://api.github.com/users/LukasReschke/following{/other_user}","gists_url":"https://api.github.com/users/LukasReschke/gists{/gist_id}","starred_url":"https://api.github.com/users/LukasReschke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LukasReschke/subscriptions","organizations_url":"https://api.github.com/users/LukasReschke/orgs","repos_url":"https://api.github.com/users/LukasReschke/repos","events_url":"https://api.github.com/users/LukasReschke/events{/privacy}","received_events_url":"https://api.github.com/users/LukasReschke/received_events","type":"User","site_admin":false},"labels":[{"id":389003733,"url":"https://api.github.com/repos/nextcloud/server/labels/3.%20to%20review","name":"3. to review","color":"0052cc","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/nextcloud/server/milestones/6","html_url":"https://github.com/nextcloud/server/milestones/Nextcloud%2011.0","labels_url":"https://api.github.com/repos/nextcloud/server/milestones/6/labels","id":1896997,"number":6,"title":"Nextcloud 11.0","description":"**beta2**: 2016-11-28, **rc**: 2016-12-05","creator":{"login":"MorrisJobke","id":245432,"avatar_url":"https://avatars.githubusercontent.com/u/245432?v=3","gravatar_id":"","url":"https://api.github.com/users/MorrisJobke","html_url":"https://github.com/MorrisJobke","followers_url":"https://api.github.com/users/MorrisJobke/followers","following_url":"https://api.github.com/users/MorrisJobke/following{/other_user}","gists_url":"https://api.github.com/users/MorrisJobke/gists{/gist_id}","starred_url":"https://api.github.com/users/MorrisJobke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MorrisJobke/subscriptions","organizations_url":"https://api.github.com/users/MorrisJobke/orgs","repos_url":"https://api.github.com/users/MorrisJobke/repos","events_url":"https://api.github.com/users/MorrisJobke/events{/privacy}","received_events_url":"https://api.github.com/users/MorrisJobke/received_events","type":"User","site_admin":false},"open_issues":36,"closed_issues":1017,"state":"open","created_at":"2016-07-21T15:58:16Z","updated_at":"2016-12-01T16:38:43Z","due_on":"2016-12-12T00:00:00Z","closed_at":null},"comments":3,"created_at":"2016-12-01T15:58:30Z","updated_at":"2016-12-01T17:40:40Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/nextcloud/server/pulls/2441","html_url":"https://github.com/nextcloud/server/pull/2441","diff_url":"https://github.com/nextcloud/server/pull/2441.diff","patch_url":"https://github.com/nextcloud/server/pull/2441.patch"},"body":"…ories\r\n\r\n\\OC\\Files\\View::createParentDirectories was previously prone to an endless loop. If a path such as /foo/existingfile.txt/bar/foo was passed and existingfile.txt existed in foo the loop was never left and running until the PHP process timed out.\r\n\r\nThis commit changes the logic to a foreach loop over an array and additionally additional error handling using is_file.\r\n\r\ncc @nickvergessen @rullzer @icewind1991 "},"comment":{"url":"https://api.github.com/repos/nextcloud/server/issues/comments/264240771","html_url":"https://github.com/nextcloud/server/pull/2441#issuecomment-264240771","issue_url":"https://api.github.com/repos/nextcloud/server/issues/2441","id":264240771,"user":{"login":"rullzer","id":45821,"avatar_url":"https://avatars.githubusercontent.com/u/45821?v=3","gravatar_id":"","url":"https://api.github.com/users/rullzer","html_url":"https://github.com/rullzer","followers_url":"https://api.github.com/users/rullzer/followers","following_url":"https://api.github.com/users/rullzer/following{/other_user}","gists_url":"https://api.github.com/users/rullzer/gists{/gist_id}","starred_url":"https://api.github.com/users/rullzer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rullzer/subscriptions","organizations_url":"https://api.github.com/users/rullzer/orgs","repos_url":"https://api.github.com/users/rullzer/repos","events_url":"https://api.github.com/users/rullzer/events{/privacy}","received_events_url":"https://api.github.com/users/rullzer/received_events","type":"User","site_admin":false},"created_at":"2016-12-01T17:40:40Z","updated_at":"2016-12-01T17:40:40Z","body":"LGTM!"}}
{"actor":{"display_login":"rullzer"}}