{"action":"opened","number":614,"pull_request":{"url":"https://api.github.com/repos/thumbor/thumbor/pulls/614","id":51224666,"html_url":"https://github.com/thumbor/thumbor/pull/614","diff_url":"https://github.com/thumbor/thumbor/pull/614.diff","patch_url":"https://github.com/thumbor/thumbor/pull/614.patch","issue_url":"https://api.github.com/repos/thumbor/thumbor/issues/614","number":614,"state":"open","locked":false,"title":"Avoid image bombs by having a pixel count limit","user":{"login":"gi11es","id":487183,"avatar_url":"https://avatars.githubusercontent.com/u/487183?v=3","gravatar_id":"","url":"https://api.github.com/users/gi11es","html_url":"https://github.com/gi11es","followers_url":"https://api.github.com/users/gi11es/followers","following_url":"https://api.github.com/users/gi11es/following{/other_user}","gists_url":"https://api.github.com/users/gi11es/gists{/gist_id}","starred_url":"https://api.github.com/users/gi11es/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gi11es/subscriptions","organizations_url":"https://api.github.com/users/gi11es/orgs","repos_url":"https://api.github.com/users/gi11es/repos","events_url":"https://api.github.com/users/gi11es/events{/privacy}","received_events_url":"https://api.github.com/users/gi11es/received_events","type":"User","site_admin":false},"body":"This leverages PIL's built-in detection of gigantic files. The same would\r\nhave to be done for other engines.\r\n\r\nSetting the default to 75MP, which is a sane production value\r\naccording to our experience on Wikimedia Commons.\r\n\r\nFixes #604","created_at":"2015-11-19T13:54:29Z","updated_at":"2015-11-19T13:54:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/thumbor/thumbor/pulls/614/commits","review_comments_url":"https://api.github.com/repos/thumbor/thumbor/pulls/614/comments","review_comment_url":"https://api.github.com/repos/thumbor/thumbor/pulls/comments{/number}","comments_url":"https://api.github.com/repos/thumbor/thumbor/issues/614/comments","statuses_url":"https://api.github.com/repos/thumbor/thumbor/statuses/e7950af094f84b88432cd9cd08ad1b8d52e3dd87","head":{"label":"gi11es:master","ref":"master","sha":"e7950af094f84b88432cd9cd08ad1b8d52e3dd87","user":{"login":"gi11es","id":487183,"avatar_url":"https://avatars.githubusercontent.com/u/487183?v=3","gravatar_id":"","url":"https://api.github.com/users/gi11es","html_url":"https://github.com/gi11es","followers_url":"https://api.github.com/users/gi11es/followers","following_url":"https://api.github.com/users/gi11es/following{/other_user}","gists_url":"https://api.github.com/users/gi11es/gists{/gist_id}","starred_url":"https://api.github.com/users/gi11es/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gi11es/subscriptions","organizations_url":"https://api.github.com/users/gi11es/orgs","repos_url":"https://api.github.com/users/gi11es/repos","events_url":"https://api.github.com/users/gi11es/events{/privacy}","received_events_url":"https://api.github.com/users/gi11es/received_events","type":"User","site_admin":false},"repo":{"id":46484094,"name":"thumbor","full_name":"gi11es/thumbor","owner":{"login":"gi11es","id":487183,"avatar_url":"https://avatars.githubusercontent.com/u/487183?v=3","gravatar_id":"","url":"https://api.github.com/users/gi11es","html_url":"https://github.com/gi11es","followers_url":"https://api.github.com/users/gi11es/followers","following_url":"https://api.github.com/users/gi11es/following{/other_user}","gists_url":"https://api.github.com/users/gi11es/gists{/gist_id}","starred_url":"https://api.github.com/users/gi11es/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gi11es/subscriptions","organizations_url":"https://api.github.com/users/gi11es/orgs","repos_url":"https://api.github.com/users/gi11es/repos","events_url":"https://api.github.com/users/gi11es/events{/privacy}","received_events_url":"https://api.github.com/users/gi11es/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gi11es/thumbor","description":"thumbor is an open-source photo thumbnail service by globo.com","fork":true,"url":"https://api.github.com/repos/gi11es/thumbor","forks_url":"https://api.github.com/repos/gi11es/thumbor/forks","keys_url":"https://api.github.com/repos/gi11es/thumbor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gi11es/thumbor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gi11es/thumbor/teams","hooks_url":"https://api.github.com/repos/gi11es/thumbor/hooks","issue_events_url":"https://api.github.com/repos/gi11es/thumbor/issues/events{/number}","events_url":"https://api.github.com/repos/gi11es/thumbor/events","assignees_url":"https://api.github.com/repos/gi11es/thumbor/assignees{/user}","branches_url":"https://api.github.com/repos/gi11es/thumbor/branches{/branch}","tags_url":"https://api.github.com/repos/gi11es/thumbor/tags","blobs_url":"https://api.github.com/repos/gi11es/thumbor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gi11es/thumbor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gi11es/thumbor/git/refs{/sha}","trees_url":"https://api.github.com/repos/gi11es/thumbor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gi11es/thumbor/statuses/{sha}","languages_url":"https://api.github.com/repos/gi11es/thumbor/languages","stargazers_url":"https://api.github.com/repos/gi11es/thumbor/stargazers","contributors_url":"https://api.github.com/repos/gi11es/thumbor/contributors","subscribers_url":"https://api.github.com/repos/gi11es/thumbor/subscribers","subscription_url":"https://api.github.com/repos/gi11es/thumbor/subscription","commits_url":"https://api.github.com/repos/gi11es/thumbor/commits{/sha}","git_commits_url":"https://api.github.com/repos/gi11es/thumbor/git/commits{/sha}","comments_url":"https://api.github.com/repos/gi11es/thumbor/comments{/number}","issue_comment_url":"https://api.github.com/repos/gi11es/thumbor/issues/comments{/number}","contents_url":"https://api.github.com/repos/gi11es/thumbor/contents/{+path}","compare_url":"https://api.github.com/repos/gi11es/thumbor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gi11es/thumbor/merges","archive_url":"https://api.github.com/repos/gi11es/thumbor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gi11es/thumbor/downloads","issues_url":"https://api.github.com/repos/gi11es/thumbor/issues{/number}","pulls_url":"https://api.github.com/repos/gi11es/thumbor/pulls{/number}","milestones_url":"https://api.github.com/repos/gi11es/thumbor/milestones{/number}","notifications_url":"https://api.github.com/repos/gi11es/thumbor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gi11es/thumbor/labels{/name}","releases_url":"https://api.github.com/repos/gi11es/thumbor/releases{/id}","created_at":"2015-11-19T10:08:07Z","updated_at":"2015-11-19T10:08:10Z","pushed_at":"2015-11-19T13:54:01Z","git_url":"git://github.com/gi11es/thumbor.git","ssh_url":"git@github.com:gi11es/thumbor.git","clone_url":"https://github.com/gi11es/thumbor.git","svn_url":"https://github.com/gi11es/thumbor","homepage":"http://thumbor.org","size":12983,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"thumbor:master","ref":"master","sha":"4bfb5abc1581225054026efad295139efc37284e","user":{"login":"thumbor","id":6918711,"avatar_url":"https://avatars.githubusercontent.com/u/6918711?v=3","gravatar_id":"","url":"https://api.github.com/users/thumbor","html_url":"https://github.com/thumbor","followers_url":"https://api.github.com/users/thumbor/followers","following_url":"https://api.github.com/users/thumbor/following{/other_user}","gists_url":"https://api.github.com/users/thumbor/gists{/gist_id}","starred_url":"https://api.github.com/users/thumbor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thumbor/subscriptions","organizations_url":"https://api.github.com/users/thumbor/orgs","repos_url":"https://api.github.com/users/thumbor/repos","events_url":"https://api.github.com/users/thumbor/events{/privacy}","received_events_url":"https://api.github.com/users/thumbor/received_events","type":"Organization","site_admin":false},"repo":{"id":1488139,"name":"thumbor","full_name":"thumbor/thumbor","owner":{"login":"thumbor","id":6918711,"avatar_url":"https://avatars.githubusercontent.com/u/6918711?v=3","gravatar_id":"","url":"https://api.github.com/users/thumbor","html_url":"https://github.com/thumbor","followers_url":"https://api.github.com/users/thumbor/followers","following_url":"https://api.github.com/users/thumbor/following{/other_user}","gists_url":"https://api.github.com/users/thumbor/gists{/gist_id}","starred_url":"https://api.github.com/users/thumbor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thumbor/subscriptions","organizations_url":"https://api.github.com/users/thumbor/orgs","repos_url":"https://api.github.com/users/thumbor/repos","events_url":"https://api.github.com/users/thumbor/events{/privacy}","received_events_url":"https://api.github.com/users/thumbor/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/thumbor/thumbor","description":"thumbor is an open-source photo thumbnail service by globo.com","fork":false,"url":"https://api.github.com/repos/thumbor/thumbor","forks_url":"https://api.github.com/repos/thumbor/thumbor/forks","keys_url":"https://api.github.com/repos/thumbor/thumbor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/thumbor/thumbor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/thumbor/thumbor/teams","hooks_url":"https://api.github.com/repos/thumbor/thumbor/hooks","issue_events_url":"https://api.github.com/repos/thumbor/thumbor/issues/events{/number}","events_url":"https://api.github.com/repos/thumbor/thumbor/events","assignees_url":"https://api.github.com/repos/thumbor/thumbor/assignees{/user}","branches_url":"https://api.github.com/repos/thumbor/thumbor/branches{/branch}","tags_url":"https://api.github.com/repos/thumbor/thumbor/tags","blobs_url":"https://api.github.com/repos/thumbor/thumbor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/thumbor/thumbor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/thumbor/thumbor/git/refs{/sha}","trees_url":"https://api.github.com/repos/thumbor/thumbor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/thumbor/thumbor/statuses/{sha}","languages_url":"https://api.github.com/repos/thumbor/thumbor/languages","stargazers_url":"https://api.github.com/repos/thumbor/thumbor/stargazers","contributors_url":"https://api.github.com/repos/thumbor/thumbor/contributors","subscribers_url":"https://api.github.com/repos/thumbor/thumbor/subscribers","subscription_url":"https://api.github.com/repos/thumbor/thumbor/subscription","commits_url":"https://api.github.com/repos/thumbor/thumbor/commits{/sha}","git_commits_url":"https://api.github.com/repos/thumbor/thumbor/git/commits{/sha}","comments_url":"https://api.github.com/repos/thumbor/thumbor/comments{/number}","issue_comment_url":"https://api.github.com/repos/thumbor/thumbor/issues/comments{/number}","contents_url":"https://api.github.com/repos/thumbor/thumbor/contents/{+path}","compare_url":"https://api.github.com/repos/thumbor/thumbor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/thumbor/thumbor/merges","archive_url":"https://api.github.com/repos/thumbor/thumbor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/thumbor/thumbor/downloads","issues_url":"https://api.github.com/repos/thumbor/thumbor/issues{/number}","pulls_url":"https://api.github.com/repos/thumbor/thumbor/pulls{/number}","milestones_url":"https://api.github.com/repos/thumbor/thumbor/milestones{/number}","notifications_url":"https://api.github.com/repos/thumbor/thumbor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/thumbor/thumbor/labels{/name}","releases_url":"https://api.github.com/repos/thumbor/thumbor/releases{/id}","created_at":"2011-03-16T17:30:05Z","updated_at":"2015-11-19T02:56:00Z","pushed_at":"2015-11-19T13:52:02Z","git_url":"git://github.com/thumbor/thumbor.git","ssh_url":"git@github.com:thumbor/thumbor.git","clone_url":"https://github.com/thumbor/thumbor.git","svn_url":"https://github.com/thumbor/thumbor","homepage":"http://thumbor.org","size":13328,"stargazers_count":3449,"watchers_count":3449,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":329,"mirror_url":null,"open_issues_count":85,"forks":329,"open_issues":85,"watchers":3449,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/thumbor/thumbor/pulls/614"},"html":{"href":"https://github.com/thumbor/thumbor/pull/614"},"issue":{"href":"https://api.github.com/repos/thumbor/thumbor/issues/614"},"comments":{"href":"https://api.github.com/repos/thumbor/thumbor/issues/614/comments"},"review_comments":{"href":"https://api.github.com/repos/thumbor/thumbor/pulls/614/comments"},"review_comment":{"href":"https://api.github.com/repos/thumbor/thumbor/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/thumbor/thumbor/pulls/614/commits"},"statuses":{"href":"https://api.github.com/repos/thumbor/thumbor/statuses/e7950af094f84b88432cd9cd08ad1b8d52e3dd87"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":33,"deletions":0,"changed_files":3}}