{"action":"created","issue":{"url":"https://api.github.com/repos/uracreative/identihub/issues/96","repository_url":"https://api.github.com/repos/uracreative/identihub","labels_url":"https://api.github.com/repos/uracreative/identihub/issues/96/labels{/name}","comments_url":"https://api.github.com/repos/uracreative/identihub/issues/96/comments","events_url":"https://api.github.com/repos/uracreative/identihub/issues/96/events","html_url":"https://github.com/uracreative/identihub/issues/96","id":302095733,"number":96,"title":"Need to check input sizes","user":{"login":"h4ck3rm1k3","id":34903,"avatar_url":"https://avatars2.githubusercontent.com/u/34903?v=4","gravatar_id":"","url":"https://api.github.com/users/h4ck3rm1k3","html_url":"https://github.com/h4ck3rm1k3","followers_url":"https://api.github.com/users/h4ck3rm1k3/followers","following_url":"https://api.github.com/users/h4ck3rm1k3/following{/other_user}","gists_url":"https://api.github.com/users/h4ck3rm1k3/gists{/gist_id}","starred_url":"https://api.github.com/users/h4ck3rm1k3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/h4ck3rm1k3/subscriptions","organizations_url":"https://api.github.com/users/h4ck3rm1k3/orgs","repos_url":"https://api.github.com/users/h4ck3rm1k3/repos","events_url":"https://api.github.com/users/h4ck3rm1k3/events{/privacy}","received_events_url":"https://api.github.com/users/h4ck3rm1k3/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-04T15:43:07Z","updated_at":"2018-03-06T15:02:32Z","closed_at":null,"author_association":"NONE","body":"### Expected Results\r\nIf you input an icon size of height 109945 it will not crash the server\r\n\r\n### Actual Results\r\nIf you input an icon size of height 109945 it will  crash the server\r\n\r\n`api/v1/bridges/104/icons/329/converted Failed to load resource: net::ERR_EMPTY_RESPONSE`\r\n\r\n### Browser and Screen Resolution\r\ndoes not matter\r\n\r\n### Steps to Reproduce\r\n```curl 'https://demo.identihub.co/api/v1/bridges/104/icons/329/converted' -H 'Origin: https://demo.identihub.co' -H 'X-XSRF-TOKEN: REDACTED=' -H 'X-CSRF-TOKEN: REDACTED' -H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.98 Safari/537.36' -H 'Content-Type: application/json;charset=UTF-8' -H 'Accept: application/json, text/plain, */*' -H 'Referer: https://demo.identihub.co/app' -H 'X-Requested-With: XMLHttpRequest' --data-binary '{\"width\":104918,\"height\":39113}' --compressed\r\n```\r\n### Comments\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/uracreative/identihub/issues/comments/370809932","html_url":"https://github.com/uracreative/identihub/issues/96#issuecomment-370809932","issue_url":"https://api.github.com/repos/uracreative/identihub/issues/96","id":370809932,"user":{"login":"elioqoshi","id":5436686,"avatar_url":"https://avatars2.githubusercontent.com/u/5436686?v=4","gravatar_id":"","url":"https://api.github.com/users/elioqoshi","html_url":"https://github.com/elioqoshi","followers_url":"https://api.github.com/users/elioqoshi/followers","following_url":"https://api.github.com/users/elioqoshi/following{/other_user}","gists_url":"https://api.github.com/users/elioqoshi/gists{/gist_id}","starred_url":"https://api.github.com/users/elioqoshi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elioqoshi/subscriptions","organizations_url":"https://api.github.com/users/elioqoshi/orgs","repos_url":"https://api.github.com/users/elioqoshi/repos","events_url":"https://api.github.com/users/elioqoshi/events{/privacy}","received_events_url":"https://api.github.com/users/elioqoshi/received_events","type":"User","site_admin":false},"created_at":"2018-03-06T15:02:32Z","updated_at":"2018-03-06T15:02:32Z","author_association":"OWNER","body":"Inputs like these should be disabled. I suppose we can limit the input a user can insert to something like 20000px?"}}
{"actor":{"display_login":"elioqoshi"}}