{"action":"closed","number":183,"pull_request":{"url":"https://api.github.com/repos/ministryofjustice/peoplefinder/pulls/183","id":44646293,"html_url":"https://github.com/ministryofjustice/peoplefinder/pull/183","diff_url":"https://github.com/ministryofjustice/peoplefinder/pull/183.diff","patch_url":"https://github.com/ministryofjustice/peoplefinder/pull/183.patch","issue_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/issues/183","number":183,"state":"closed","locked":false,"title":"Use Bombshelter to prevent image size DoS attack","user":{"login":"tatyree","id":20921,"avatar_url":"https://avatars.githubusercontent.com/u/20921?v=3","gravatar_id":"","url":"https://api.github.com/users/tatyree","html_url":"https://github.com/tatyree","followers_url":"https://api.github.com/users/tatyree/followers","following_url":"https://api.github.com/users/tatyree/following{/other_user}","gists_url":"https://api.github.com/users/tatyree/gists{/gist_id}","starred_url":"https://api.github.com/users/tatyree/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tatyree/subscriptions","organizations_url":"https://api.github.com/users/tatyree/orgs","repos_url":"https://api.github.com/users/tatyree/repos","events_url":"https://api.github.com/users/tatyree/events{/privacy}","received_events_url":"https://api.github.com/users/tatyree/received_events","type":"User","site_admin":false},"body":"https://github.com/DarthSim/carrierwave-bombshelter was one of the\r\nCarrierWave recommended solutions to the problem of image bombs. After a\r\nquick review of it and the supporting FastImage gem, I decided that\r\nusing it was more sensible than trying to roll the same thing from\r\nscratch.\r\n\r\nThis commit also include the fast-failing rspec formatter Fuubar and an\r\nupdate to rspec.","created_at":"2015-09-10T09:37:36Z","updated_at":"2015-09-11T14:51:39Z","closed_at":"2015-09-11T14:51:39Z","merged_at":"2015-09-11T14:51:39Z","merge_commit_sha":"9806a78fde58e9b149c3d0b6c74a05b61477c598","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/pulls/183/commits","review_comments_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/pulls/183/comments","review_comment_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/issues/183/comments","statuses_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/statuses/b20e07443508a32e96c257992fb6a425e07c6a8b","head":{"label":"ministryofjustice:people-finder-critical-image-upload-denial-of-service","ref":"people-finder-critical-image-upload-denial-of-service","sha":"b20e07443508a32e96c257992fb6a425e07c6a8b","user":{"login":"ministryofjustice","id":2203574,"avatar_url":"https://avatars.githubusercontent.com/u/2203574?v=3","gravatar_id":"","url":"https://api.github.com/users/ministryofjustice","html_url":"https://github.com/ministryofjustice","followers_url":"https://api.github.com/users/ministryofjustice/followers","following_url":"https://api.github.com/users/ministryofjustice/following{/other_user}","gists_url":"https://api.github.com/users/ministryofjustice/gists{/gist_id}","starred_url":"https://api.github.com/users/ministryofjustice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ministryofjustice/subscriptions","organizations_url":"https://api.github.com/users/ministryofjustice/orgs","repos_url":"https://api.github.com/users/ministryofjustice/repos","events_url":"https://api.github.com/users/ministryofjustice/events{/privacy}","received_events_url":"https://api.github.com/users/ministryofjustice/received_events","type":"Organization","site_admin":false},"repo":{"id":20886151,"name":"peoplefinder","full_name":"ministryofjustice/peoplefinder","owner":{"login":"ministryofjustice","id":2203574,"avatar_url":"https://avatars.githubusercontent.com/u/2203574?v=3","gravatar_id":"","url":"https://api.github.com/users/ministryofjustice","html_url":"https://github.com/ministryofjustice","followers_url":"https://api.github.com/users/ministryofjustice/followers","following_url":"https://api.github.com/users/ministryofjustice/following{/other_user}","gists_url":"https://api.github.com/users/ministryofjustice/gists{/gist_id}","starred_url":"https://api.github.com/users/ministryofjustice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ministryofjustice/subscriptions","organizations_url":"https://api.github.com/users/ministryofjustice/orgs","repos_url":"https://api.github.com/users/ministryofjustice/repos","events_url":"https://api.github.com/users/ministryofjustice/events{/privacy}","received_events_url":"https://api.github.com/users/ministryofjustice/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ministryofjustice/peoplefinder","description":"","fork":false,"url":"https://api.github.com/repos/ministryofjustice/peoplefinder","forks_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/forks","keys_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/teams","hooks_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/hooks","issue_events_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/issues/events{/number}","events_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/events","assignees_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/assignees{/user}","branches_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/branches{/branch}","tags_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/tags","blobs_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/git/refs{/sha}","trees_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/statuses/{sha}","languages_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/languages","stargazers_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/stargazers","contributors_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/contributors","subscribers_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/subscribers","subscription_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/subscription","commits_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/commits{/sha}","git_commits_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/git/commits{/sha}","comments_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/comments{/number}","issue_comment_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/issues/comments{/number}","contents_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/contents/{+path}","compare_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/merges","archive_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/downloads","issues_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/issues{/number}","pulls_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/pulls{/number}","milestones_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/milestones{/number}","notifications_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/labels{/name}","releases_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/releases{/id}","created_at":"2014-06-16T13:39:22Z","updated_at":"2015-07-10T15:29:51Z","pushed_at":"2015-09-11T14:51:39Z","git_url":"git://github.com/ministryofjustice/peoplefinder.git","ssh_url":"git@github.com:ministryofjustice/peoplefinder.git","clone_url":"https://github.com/ministryofjustice/peoplefinder.git","svn_url":"https://github.com/ministryofjustice/peoplefinder","homepage":"https://peoplefinder.service.gov.uk/","size":8291,"stargazers_count":6,"watchers_count":6,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":1,"forks":7,"open_issues":1,"watchers":6,"default_branch":"master"}},"base":{"label":"ministryofjustice:master","ref":"master","sha":"d6d914cce1b56401d6bc022957805e3f6bf23678","user":{"login":"ministryofjustice","id":2203574,"avatar_url":"https://avatars.githubusercontent.com/u/2203574?v=3","gravatar_id":"","url":"https://api.github.com/users/ministryofjustice","html_url":"https://github.com/ministryofjustice","followers_url":"https://api.github.com/users/ministryofjustice/followers","following_url":"https://api.github.com/users/ministryofjustice/following{/other_user}","gists_url":"https://api.github.com/users/ministryofjustice/gists{/gist_id}","starred_url":"https://api.github.com/users/ministryofjustice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ministryofjustice/subscriptions","organizations_url":"https://api.github.com/users/ministryofjustice/orgs","repos_url":"https://api.github.com/users/ministryofjustice/repos","events_url":"https://api.github.com/users/ministryofjustice/events{/privacy}","received_events_url":"https://api.github.com/users/ministryofjustice/received_events","type":"Organization","site_admin":false},"repo":{"id":20886151,"name":"peoplefinder","full_name":"ministryofjustice/peoplefinder","owner":{"login":"ministryofjustice","id":2203574,"avatar_url":"https://avatars.githubusercontent.com/u/2203574?v=3","gravatar_id":"","url":"https://api.github.com/users/ministryofjustice","html_url":"https://github.com/ministryofjustice","followers_url":"https://api.github.com/users/ministryofjustice/followers","following_url":"https://api.github.com/users/ministryofjustice/following{/other_user}","gists_url":"https://api.github.com/users/ministryofjustice/gists{/gist_id}","starred_url":"https://api.github.com/users/ministryofjustice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ministryofjustice/subscriptions","organizations_url":"https://api.github.com/users/ministryofjustice/orgs","repos_url":"https://api.github.com/users/ministryofjustice/repos","events_url":"https://api.github.com/users/ministryofjustice/events{/privacy}","received_events_url":"https://api.github.com/users/ministryofjustice/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ministryofjustice/peoplefinder","description":"","fork":false,"url":"https://api.github.com/repos/ministryofjustice/peoplefinder","forks_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/forks","keys_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/teams","hooks_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/hooks","issue_events_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/issues/events{/number}","events_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/events","assignees_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/assignees{/user}","branches_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/branches{/branch}","tags_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/tags","blobs_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/git/refs{/sha}","trees_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/statuses/{sha}","languages_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/languages","stargazers_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/stargazers","contributors_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/contributors","subscribers_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/subscribers","subscription_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/subscription","commits_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/commits{/sha}","git_commits_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/git/commits{/sha}","comments_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/comments{/number}","issue_comment_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/issues/comments{/number}","contents_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/contents/{+path}","compare_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/merges","archive_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/downloads","issues_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/issues{/number}","pulls_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/pulls{/number}","milestones_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/milestones{/number}","notifications_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/labels{/name}","releases_url":"https://api.github.com/repos/ministryofjustice/peoplefinder/releases{/id}","created_at":"2014-06-16T13:39:22Z","updated_at":"2015-07-10T15:29:51Z","pushed_at":"2015-09-11T14:51:39Z","git_url":"git://github.com/ministryofjustice/peoplefinder.git","ssh_url":"git@github.com:ministryofjustice/peoplefinder.git","clone_url":"https://github.com/ministryofjustice/peoplefinder.git","svn_url":"https://github.com/ministryofjustice/peoplefinder","homepage":"https://peoplefinder.service.gov.uk/","size":8291,"stargazers_count":6,"watchers_count":6,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":1,"forks":7,"open_issues":1,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ministryofjustice/peoplefinder/pulls/183"},"html":{"href":"https://github.com/ministryofjustice/peoplefinder/pull/183"},"issue":{"href":"https://api.github.com/repos/ministryofjustice/peoplefinder/issues/183"},"comments":{"href":"https://api.github.com/repos/ministryofjustice/peoplefinder/issues/183/comments"},"review_comments":{"href":"https://api.github.com/repos/ministryofjustice/peoplefinder/pulls/183/comments"},"review_comment":{"href":"https://api.github.com/repos/ministryofjustice/peoplefinder/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ministryofjustice/peoplefinder/pulls/183/commits"},"statuses":{"href":"https://api.github.com/repos/ministryofjustice/peoplefinder/statuses/b20e07443508a32e96c257992fb6a425e07c6a8b"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"himal-mandalia","id":4628936,"avatar_url":"https://avatars.githubusercontent.com/u/4628936?v=3","gravatar_id":"","url":"https://api.github.com/users/himal-mandalia","html_url":"https://github.com/himal-mandalia","followers_url":"https://api.github.com/users/himal-mandalia/followers","following_url":"https://api.github.com/users/himal-mandalia/following{/other_user}","gists_url":"https://api.github.com/users/himal-mandalia/gists{/gist_id}","starred_url":"https://api.github.com/users/himal-mandalia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/himal-mandalia/subscriptions","organizations_url":"https://api.github.com/users/himal-mandalia/orgs","repos_url":"https://api.github.com/users/himal-mandalia/repos","events_url":"https://api.github.com/users/himal-mandalia/events{/privacy}","received_events_url":"https://api.github.com/users/himal-mandalia/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":22,"deletions":0,"changed_files":3}}