{"action":"created","issue":{"url":"https://api.github.com/repos/iionly/tidypics/issues/32","repository_url":"https://api.github.com/repos/iionly/tidypics","labels_url":"https://api.github.com/repos/iionly/tidypics/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/iionly/tidypics/issues/32/comments","events_url":"https://api.github.com/repos/iionly/tidypics/issues/32/events","html_url":"https://github.com/iionly/tidypics/issues/32","id":164050540,"number":32,"title":"subtype is not being checked for photo views, causing errors","user":{"login":"propertunist","id":513903,"avatar_url":"https://avatars.githubusercontent.com/u/513903?v=3","gravatar_id":"","url":"https://api.github.com/users/propertunist","html_url":"https://github.com/propertunist","followers_url":"https://api.github.com/users/propertunist/followers","following_url":"https://api.github.com/users/propertunist/following{/other_user}","gists_url":"https://api.github.com/users/propertunist/gists{/gist_id}","starred_url":"https://api.github.com/users/propertunist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/propertunist/subscriptions","organizations_url":"https://api.github.com/users/propertunist/orgs","repos_url":"https://api.github.com/users/propertunist/repos","events_url":"https://api.github.com/users/propertunist/events{/privacy}","received_events_url":"https://api.github.com/users/propertunist/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-07-06T10:59:29Z","updated_at":"2016-07-10T20:00:26Z","closed_at":null,"body":"if a user attempts to view a photo using a guid that is for a different type of elgg entity (e.g. a blog) - which occurred on my site for unknown reasons - the outcome is that they will see a fatal error.\r\nthe subtype needs to be checked to ensure it is a tidypics image in file: /resources/tidypics/photos/image/view.php\r\n```\r\nif ((!$photo)||(!elgg_instanceof($photo, 'tidypicsImage'))) {\r\n```"},"comment":{"url":"https://api.github.com/repos/iionly/tidypics/issues/comments/231607790","html_url":"https://github.com/iionly/tidypics/issues/32#issuecomment-231607790","issue_url":"https://api.github.com/repos/iionly/tidypics/issues/32","id":231607790,"user":{"login":"iionly","id":1773681,"avatar_url":"https://avatars.githubusercontent.com/u/1773681?v=3","gravatar_id":"","url":"https://api.github.com/users/iionly","html_url":"https://github.com/iionly","followers_url":"https://api.github.com/users/iionly/followers","following_url":"https://api.github.com/users/iionly/following{/other_user}","gists_url":"https://api.github.com/users/iionly/gists{/gist_id}","starred_url":"https://api.github.com/users/iionly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iionly/subscriptions","organizations_url":"https://api.github.com/users/iionly/orgs","repos_url":"https://api.github.com/users/iionly/repos","events_url":"https://api.github.com/users/iionly/events{/privacy}","received_events_url":"https://api.github.com/users/iionly/received_events","type":"User","site_admin":false},"created_at":"2016-07-10T20:00:26Z","updated_at":"2016-07-10T20:00:26Z","body":"Yes. Thanks for reporting. I'll make a PR soon. But before doing so I want to check other views for the same kind of issue and then make a PR that fixes it in all views."}}
{"actor":{"display_login":"iionly"}}