{"action":"closed","issue":{"url":"https://api.github.com/repos/hanami/utils/issues/169","repository_url":"https://api.github.com/repos/hanami/utils","labels_url":"https://api.github.com/repos/hanami/utils/issues/169/labels{/name}","comments_url":"https://api.github.com/repos/hanami/utils/issues/169/comments","events_url":"https://api.github.com/repos/hanami/utils/issues/169/events","html_url":"https://github.com/hanami/utils/issues/169","id":188834001,"number":169,"title":"Use of JSON.load vs JSON.parse","user":{"login":"beauby","id":2215778,"avatar_url":"https://avatars.githubusercontent.com/u/2215778?v=3","gravatar_id":"","url":"https://api.github.com/users/beauby","html_url":"https://github.com/beauby","followers_url":"https://api.github.com/users/beauby/followers","following_url":"https://api.github.com/users/beauby/following{/other_user}","gists_url":"https://api.github.com/users/beauby/gists{/gist_id}","starred_url":"https://api.github.com/users/beauby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beauby/subscriptions","organizations_url":"https://api.github.com/users/beauby/orgs","repos_url":"https://api.github.com/users/beauby/repos","events_url":"https://api.github.com/users/beauby/events{/privacy}","received_events_url":"https://api.github.com/users/beauby/received_events","type":"User","site_admin":false},"labels":[{"id":51074746,"url":"https://api.github.com/repos/hanami/utils/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":109727389,"url":"https://api.github.com/repos/hanami/utils/labels/help-wanted","name":"help-wanted","color":"009800","default":false}],"state":"closed","locked":false,"assignee":{"login":"jodosha","id":5089,"avatar_url":"https://avatars.githubusercontent.com/u/5089?v=3","gravatar_id":"","url":"https://api.github.com/users/jodosha","html_url":"https://github.com/jodosha","followers_url":"https://api.github.com/users/jodosha/followers","following_url":"https://api.github.com/users/jodosha/following{/other_user}","gists_url":"https://api.github.com/users/jodosha/gists{/gist_id}","starred_url":"https://api.github.com/users/jodosha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jodosha/subscriptions","organizations_url":"https://api.github.com/users/jodosha/orgs","repos_url":"https://api.github.com/users/jodosha/repos","events_url":"https://api.github.com/users/jodosha/events{/privacy}","received_events_url":"https://api.github.com/users/jodosha/received_events","type":"User","site_admin":false},"assignees":[{"login":"jodosha","id":5089,"avatar_url":"https://avatars.githubusercontent.com/u/5089?v=3","gravatar_id":"","url":"https://api.github.com/users/jodosha","html_url":"https://github.com/jodosha","followers_url":"https://api.github.com/users/jodosha/followers","following_url":"https://api.github.com/users/jodosha/following{/other_user}","gists_url":"https://api.github.com/users/jodosha/gists{/gist_id}","starred_url":"https://api.github.com/users/jodosha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jodosha/subscriptions","organizations_url":"https://api.github.com/users/jodosha/orgs","repos_url":"https://api.github.com/users/jodosha/repos","events_url":"https://api.github.com/users/jodosha/events{/privacy}","received_events_url":"https://api.github.com/users/jodosha/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/hanami/utils/milestones/17","html_url":"https://github.com/hanami/utils/milestones/v0.9.1","labels_url":"https://api.github.com/repos/hanami/utils/milestones/17/labels","id":2141354,"number":17,"title":"v0.9.1","description":"","creator":{"login":"jodosha","id":5089,"avatar_url":"https://avatars.githubusercontent.com/u/5089?v=3","gravatar_id":"","url":"https://api.github.com/users/jodosha","html_url":"https://github.com/jodosha","followers_url":"https://api.github.com/users/jodosha/followers","following_url":"https://api.github.com/users/jodosha/following{/other_user}","gists_url":"https://api.github.com/users/jodosha/gists{/gist_id}","starred_url":"https://api.github.com/users/jodosha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jodosha/subscriptions","organizations_url":"https://api.github.com/users/jodosha/orgs","repos_url":"https://api.github.com/users/jodosha/repos","events_url":"https://api.github.com/users/jodosha/events{/privacy}","received_events_url":"https://api.github.com/users/jodosha/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":2,"state":"open","created_at":"2016-11-17T09:05:04Z","updated_at":"2016-11-18T14:19:39Z","due_on":null,"closed_at":null},"comments":7,"created_at":"2016-11-11T19:36:41Z","updated_at":"2016-11-18T14:19:39Z","closed_at":"2016-11-18T14:19:39Z","body":"The ruby docs explicitly say the following\r\n> BEWARE: This method is meant to serialise data from trusted user input, like from your own database server or clients under your control, it could be **dangerous** to allow untrusted users to pass JSON sources into it.\r\n\r\nYet, `load` is used [here](https://github.com/hanami/utils/blob/master/lib/hanami/utils/json.rb), and hanami-router calls that method for parsing json bodies of http requests."}}
{"actor":{"display_login":"jodosha"}}