{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/core/issues/16657","labels_url":"https://api.github.com/repos/owncloud/core/issues/16657/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/core/issues/16657/comments","events_url":"https://api.github.com/repos/owncloud/core/issues/16657/events","html_url":"https://github.com/owncloud/core/pull/16657","id":83461603,"number":16657,"title":"emit hooks from a view as long as the path is inside the default root","user":{"login":"icewind1991","id":1283854,"avatar_url":"https://avatars.githubusercontent.com/u/1283854?v=3","gravatar_id":"","url":"https://api.github.com/users/icewind1991","html_url":"https://github.com/icewind1991","followers_url":"https://api.github.com/users/icewind1991/followers","following_url":"https://api.github.com/users/icewind1991/following{/other_user}","gists_url":"https://api.github.com/users/icewind1991/gists{/gist_id}","starred_url":"https://api.github.com/users/icewind1991/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/icewind1991/subscriptions","organizations_url":"https://api.github.com/users/icewind1991/orgs","repos_url":"https://api.github.com/users/icewind1991/repos","events_url":"https://api.github.com/users/icewind1991/events{/privacy}","received_events_url":"https://api.github.com/users/icewind1991/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/owncloud/core/labels/2%20-%20Developing","name":"2 - Developing","color":"ededed"},{"url":"https://api.github.com/repos/owncloud/core/labels/backport-request","name":"backport-request","color":"006b75"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/owncloud/core/milestones/31","html_url":"https://github.com/owncloud/core/milestones/8.1-current","labels_url":"https://api.github.com/repos/owncloud/core/milestones/31/labels","id":912160,"number":31,"title":"8.1-current","description":"","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":80,"closed_issues":1379,"state":"open","created_at":"2014-12-22T12:04:01Z","updated_at":"2015-06-10T10:59:07Z","due_on":"2015-04-02T22:00:00Z","closed_at":null},"comments":14,"created_at":"2015-06-01T12:09:39Z","updated_at":"2015-06-10T11:19:38Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/owncloud/core/pulls/16657","html_url":"https://github.com/owncloud/core/pull/16657","diff_url":"https://github.com/owncloud/core/pull/16657.diff","patch_url":"https://github.com/owncloud/core/pull/16657.patch"},"body":"For https://github.com/owncloud/files_drop/issues/61\r\n\r\ncc @DeepDiver1975 @PVince81 "},"comment":{"url":"https://api.github.com/repos/owncloud/core/issues/comments/110704688","html_url":"https://github.com/owncloud/core/pull/16657#issuecomment-110704688","issue_url":"https://api.github.com/repos/owncloud/core/issues/16657","id":110704688,"user":{"login":"icewind1991","id":1283854,"avatar_url":"https://avatars.githubusercontent.com/u/1283854?v=3","gravatar_id":"","url":"https://api.github.com/users/icewind1991","html_url":"https://github.com/icewind1991","followers_url":"https://api.github.com/users/icewind1991/followers","following_url":"https://api.github.com/users/icewind1991/following{/other_user}","gists_url":"https://api.github.com/users/icewind1991/gists{/gist_id}","starred_url":"https://api.github.com/users/icewind1991/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/icewind1991/subscriptions","organizations_url":"https://api.github.com/users/icewind1991/orgs","repos_url":"https://api.github.com/users/icewind1991/repos","events_url":"https://api.github.com/users/icewind1991/events{/privacy}","received_events_url":"https://api.github.com/users/icewind1991/received_events","type":"User","site_admin":false},"created_at":"2015-06-10T11:19:38Z","updated_at":"2015-06-10T11:19:38Z","body":"> Or another alternative / quickfix would be change the \"broken\" view instance that does not fire hook and instantiate it as a user view instead of root view. This way the risk is limited to that specific code path.\r\n\r\nThat would require even more changes\r\n\r\n> is there a chance to reduce the risk as declared above? Maybe we can enable/disable hook processing using an additional ctor parameter?\r\n\r\nThat wouldn't really help since the view that caused the issue is the one used by the Node api which is the main view which would be effected by this change\r\n\r\nhttps://github.com/owncloud/files_drop/pull/62"}}