{"action":"opened","number":161,"pull_request":{"url":"https://api.github.com/repos/exif-js/exif-js/pulls/161","id":189374537,"html_url":"https://github.com/exif-js/exif-js/pull/161","diff_url":"https://github.com/exif-js/exif-js/pull/161.diff","patch_url":"https://github.com/exif-js/exif-js/pull/161.patch","issue_url":"https://api.github.com/repos/exif-js/exif-js/issues/161","number":161,"state":"open","locked":false,"title":"Skip broken GPSVersionID","user":{"login":"iggyfisk","id":6059552,"avatar_url":"https://avatars0.githubusercontent.com/u/6059552?v=4","gravatar_id":"","url":"https://api.github.com/users/iggyfisk","html_url":"https://github.com/iggyfisk","followers_url":"https://api.github.com/users/iggyfisk/followers","following_url":"https://api.github.com/users/iggyfisk/following{/other_user}","gists_url":"https://api.github.com/users/iggyfisk/gists{/gist_id}","starred_url":"https://api.github.com/users/iggyfisk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iggyfisk/subscriptions","organizations_url":"https://api.github.com/users/iggyfisk/orgs","repos_url":"https://api.github.com/users/iggyfisk/repos","events_url":"https://api.github.com/users/iggyfisk/events{/privacy}","received_events_url":"https://api.github.com/users/iggyfisk/received_events","type":"User","site_admin":false},"body":"We have a Huawei Nexus (Android) phone which somehow managed to take pictures with some broken EXIF data. This breaks our web app when we try to run it through our photo uploader that relies on exif-js. `TypeError: gpsData[tag] is undefined`. Obviously the phone shouldn't write EXIF data like that, but **it did**, which means our user's phones might do the same.\r\n\r\nI'm attaching an example photo here, you can save it, rename to `Bloated-Hero.jpg` or whatever and run it through the example in this repo and you'll see the `EXIF.getData` call fail.\r\n\r\n![img_20180424_153459](https://user-images.githubusercontent.com/6059552/40308909-06a55a3c-5d08-11e8-9350-a00d7e397205.jpg)\r\n","created_at":"2018-05-21T13:09:21Z","updated_at":"2018-05-21T13:09:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/exif-js/exif-js/pulls/161/commits","review_comments_url":"https://api.github.com/repos/exif-js/exif-js/pulls/161/comments","review_comment_url":"https://api.github.com/repos/exif-js/exif-js/pulls/comments{/number}","comments_url":"https://api.github.com/repos/exif-js/exif-js/issues/161/comments","statuses_url":"https://api.github.com/repos/exif-js/exif-js/statuses/f69f412e910241e6c455cb9eb3071ba2b5887a1f","head":{"label":"happypancake:master","ref":"master","sha":"f69f412e910241e6c455cb9eb3071ba2b5887a1f","user":{"login":"happypancake","id":1210534,"avatar_url":"https://avatars0.githubusercontent.com/u/1210534?v=4","gravatar_id":"","url":"https://api.github.com/users/happypancake","html_url":"https://github.com/happypancake","followers_url":"https://api.github.com/users/happypancake/followers","following_url":"https://api.github.com/users/happypancake/following{/other_user}","gists_url":"https://api.github.com/users/happypancake/gists{/gist_id}","starred_url":"https://api.github.com/users/happypancake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/happypancake/subscriptions","organizations_url":"https://api.github.com/users/happypancake/orgs","repos_url":"https://api.github.com/users/happypancake/repos","events_url":"https://api.github.com/users/happypancake/events{/privacy}","received_events_url":"https://api.github.com/users/happypancake/received_events","type":"Organization","site_admin":false},"repo":{"id":133936194,"name":"exif-js","full_name":"happypancake/exif-js","owner":{"login":"happypancake","id":1210534,"avatar_url":"https://avatars0.githubusercontent.com/u/1210534?v=4","gravatar_id":"","url":"https://api.github.com/users/happypancake","html_url":"https://github.com/happypancake","followers_url":"https://api.github.com/users/happypancake/followers","following_url":"https://api.github.com/users/happypancake/following{/other_user}","gists_url":"https://api.github.com/users/happypancake/gists{/gist_id}","starred_url":"https://api.github.com/users/happypancake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/happypancake/subscriptions","organizations_url":"https://api.github.com/users/happypancake/orgs","repos_url":"https://api.github.com/users/happypancake/repos","events_url":"https://api.github.com/users/happypancake/events{/privacy}","received_events_url":"https://api.github.com/users/happypancake/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/happypancake/exif-js","description":"JavaScript library for reading EXIF image metadata","fork":true,"url":"https://api.github.com/repos/happypancake/exif-js","forks_url":"https://api.github.com/repos/happypancake/exif-js/forks","keys_url":"https://api.github.com/repos/happypancake/exif-js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/happypancake/exif-js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/happypancake/exif-js/teams","hooks_url":"https://api.github.com/repos/happypancake/exif-js/hooks","issue_events_url":"https://api.github.com/repos/happypancake/exif-js/issues/events{/number}","events_url":"https://api.github.com/repos/happypancake/exif-js/events","assignees_url":"https://api.github.com/repos/happypancake/exif-js/assignees{/user}","branches_url":"https://api.github.com/repos/happypancake/exif-js/branches{/branch}","tags_url":"https://api.github.com/repos/happypancake/exif-js/tags","blobs_url":"https://api.github.com/repos/happypancake/exif-js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/happypancake/exif-js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/happypancake/exif-js/git/refs{/sha}","trees_url":"https://api.github.com/repos/happypancake/exif-js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/happypancake/exif-js/statuses/{sha}","languages_url":"https://api.github.com/repos/happypancake/exif-js/languages","stargazers_url":"https://api.github.com/repos/happypancake/exif-js/stargazers","contributors_url":"https://api.github.com/repos/happypancake/exif-js/contributors","subscribers_url":"https://api.github.com/repos/happypancake/exif-js/subscribers","subscription_url":"https://api.github.com/repos/happypancake/exif-js/subscription","commits_url":"https://api.github.com/repos/happypancake/exif-js/commits{/sha}","git_commits_url":"https://api.github.com/repos/happypancake/exif-js/git/commits{/sha}","comments_url":"https://api.github.com/repos/happypancake/exif-js/comments{/number}","issue_comment_url":"https://api.github.com/repos/happypancake/exif-js/issues/comments{/number}","contents_url":"https://api.github.com/repos/happypancake/exif-js/contents/{+path}","compare_url":"https://api.github.com/repos/happypancake/exif-js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/happypancake/exif-js/merges","archive_url":"https://api.github.com/repos/happypancake/exif-js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/happypancake/exif-js/downloads","issues_url":"https://api.github.com/repos/happypancake/exif-js/issues{/number}","pulls_url":"https://api.github.com/repos/happypancake/exif-js/pulls{/number}","milestones_url":"https://api.github.com/repos/happypancake/exif-js/milestones{/number}","notifications_url":"https://api.github.com/repos/happypancake/exif-js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/happypancake/exif-js/labels{/name}","releases_url":"https://api.github.com/repos/happypancake/exif-js/releases{/id}","deployments_url":"https://api.github.com/repos/happypancake/exif-js/deployments","created_at":"2018-05-18T09:52:49Z","updated_at":"2018-05-21T12:57:24Z","pushed_at":"2018-05-21T12:57:23Z","git_url":"git://github.com/happypancake/exif-js.git","ssh_url":"git@github.com:happypancake/exif-js.git","clone_url":"https://github.com/happypancake/exif-js.git","svn_url":"https://github.com/happypancake/exif-js","homepage":"","size":1303,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"exif-js:master","ref":"master","sha":"28f43da9b029b486c7d6b7ced373510d1f6ca357","user":{"login":"exif-js","id":12643516,"avatar_url":"https://avatars0.githubusercontent.com/u/12643516?v=4","gravatar_id":"","url":"https://api.github.com/users/exif-js","html_url":"https://github.com/exif-js","followers_url":"https://api.github.com/users/exif-js/followers","following_url":"https://api.github.com/users/exif-js/following{/other_user}","gists_url":"https://api.github.com/users/exif-js/gists{/gist_id}","starred_url":"https://api.github.com/users/exif-js/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/exif-js/subscriptions","organizations_url":"https://api.github.com/users/exif-js/orgs","repos_url":"https://api.github.com/users/exif-js/repos","events_url":"https://api.github.com/users/exif-js/events{/privacy}","received_events_url":"https://api.github.com/users/exif-js/received_events","type":"Organization","site_admin":false},"repo":{"id":298375,"name":"exif-js","full_name":"exif-js/exif-js","owner":{"login":"exif-js","id":12643516,"avatar_url":"https://avatars0.githubusercontent.com/u/12643516?v=4","gravatar_id":"","url":"https://api.github.com/users/exif-js","html_url":"https://github.com/exif-js","followers_url":"https://api.github.com/users/exif-js/followers","following_url":"https://api.github.com/users/exif-js/following{/other_user}","gists_url":"https://api.github.com/users/exif-js/gists{/gist_id}","starred_url":"https://api.github.com/users/exif-js/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/exif-js/subscriptions","organizations_url":"https://api.github.com/users/exif-js/orgs","repos_url":"https://api.github.com/users/exif-js/repos","events_url":"https://api.github.com/users/exif-js/events{/privacy}","received_events_url":"https://api.github.com/users/exif-js/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/exif-js/exif-js","description":"JavaScript library for reading EXIF image metadata","fork":false,"url":"https://api.github.com/repos/exif-js/exif-js","forks_url":"https://api.github.com/repos/exif-js/exif-js/forks","keys_url":"https://api.github.com/repos/exif-js/exif-js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/exif-js/exif-js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/exif-js/exif-js/teams","hooks_url":"https://api.github.com/repos/exif-js/exif-js/hooks","issue_events_url":"https://api.github.com/repos/exif-js/exif-js/issues/events{/number}","events_url":"https://api.github.com/repos/exif-js/exif-js/events","assignees_url":"https://api.github.com/repos/exif-js/exif-js/assignees{/user}","branches_url":"https://api.github.com/repos/exif-js/exif-js/branches{/branch}","tags_url":"https://api.github.com/repos/exif-js/exif-js/tags","blobs_url":"https://api.github.com/repos/exif-js/exif-js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/exif-js/exif-js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/exif-js/exif-js/git/refs{/sha}","trees_url":"https://api.github.com/repos/exif-js/exif-js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/exif-js/exif-js/statuses/{sha}","languages_url":"https://api.github.com/repos/exif-js/exif-js/languages","stargazers_url":"https://api.github.com/repos/exif-js/exif-js/stargazers","contributors_url":"https://api.github.com/repos/exif-js/exif-js/contributors","subscribers_url":"https://api.github.com/repos/exif-js/exif-js/subscribers","subscription_url":"https://api.github.com/repos/exif-js/exif-js/subscription","commits_url":"https://api.github.com/repos/exif-js/exif-js/commits{/sha}","git_commits_url":"https://api.github.com/repos/exif-js/exif-js/git/commits{/sha}","comments_url":"https://api.github.com/repos/exif-js/exif-js/comments{/number}","issue_comment_url":"https://api.github.com/repos/exif-js/exif-js/issues/comments{/number}","contents_url":"https://api.github.com/repos/exif-js/exif-js/contents/{+path}","compare_url":"https://api.github.com/repos/exif-js/exif-js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/exif-js/exif-js/merges","archive_url":"https://api.github.com/repos/exif-js/exif-js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/exif-js/exif-js/downloads","issues_url":"https://api.github.com/repos/exif-js/exif-js/issues{/number}","pulls_url":"https://api.github.com/repos/exif-js/exif-js/pulls{/number}","milestones_url":"https://api.github.com/repos/exif-js/exif-js/milestones{/number}","notifications_url":"https://api.github.com/repos/exif-js/exif-js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/exif-js/exif-js/labels{/name}","releases_url":"https://api.github.com/repos/exif-js/exif-js/releases{/id}","deployments_url":"https://api.github.com/repos/exif-js/exif-js/deployments","created_at":"2009-09-05T11:54:59Z","updated_at":"2018-05-21T12:08:29Z","pushed_at":"2018-03-29T08:43:41Z","git_url":"git://github.com/exif-js/exif-js.git","ssh_url":"git@github.com:exif-js/exif-js.git","clone_url":"https://github.com/exif-js/exif-js.git","svn_url":"https://github.com/exif-js/exif-js","homepage":"","size":1303,"stargazers_count":2182,"watchers_count":2182,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":723,"mirror_url":null,"archived":false,"open_issues_count":105,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":723,"open_issues":105,"watchers":2182,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/exif-js/exif-js/pulls/161"},"html":{"href":"https://github.com/exif-js/exif-js/pull/161"},"issue":{"href":"https://api.github.com/repos/exif-js/exif-js/issues/161"},"comments":{"href":"https://api.github.com/repos/exif-js/exif-js/issues/161/comments"},"review_comments":{"href":"https://api.github.com/repos/exif-js/exif-js/pulls/161/comments"},"review_comment":{"href":"https://api.github.com/repos/exif-js/exif-js/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/exif-js/exif-js/pulls/161/commits"},"statuses":{"href":"https://api.github.com/repos/exif-js/exif-js/statuses/f69f412e910241e6c455cb9eb3071ba2b5887a1f"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":6,"deletions":4,"changed_files":1}}
{"actor":{"display_login":"iggyfisk"}}