{"action":"closed","number":1329,"pull_request":{"url":"https://api.github.com/repos/mattermost/platform/pulls/1329","id":49897661,"html_url":"https://github.com/mattermost/platform/pull/1329","diff_url":"https://github.com/mattermost/platform/pull/1329.diff","patch_url":"https://github.com/mattermost/platform/pull/1329.patch","issue_url":"https://api.github.com/repos/mattermost/platform/issues/1329","number":1329,"state":"closed","locked":false,"title":"don't panic if incoming webhook contains invalid json","user":{"login":"florianorben","id":1024005,"avatar_url":"https://avatars.githubusercontent.com/u/1024005?v=3","gravatar_id":"","url":"https://api.github.com/users/florianorben","html_url":"https://github.com/florianorben","followers_url":"https://api.github.com/users/florianorben/followers","following_url":"https://api.github.com/users/florianorben/following{/other_user}","gists_url":"https://api.github.com/users/florianorben/gists{/gist_id}","starred_url":"https://api.github.com/users/florianorben/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/florianorben/subscriptions","organizations_url":"https://api.github.com/users/florianorben/orgs","repos_url":"https://api.github.com/users/florianorben/repos","events_url":"https://api.github.com/users/florianorben/events{/privacy}","received_events_url":"https://api.github.com/users/florianorben/received_events","type":"User","site_admin":false},"body":"Example, post\r\n````javascript\r\n{\r\n    \"text\": \"asd\",\r\n}\r\n````\r\n(trailing comma) will cause web.go to panic","created_at":"2015-11-05T23:42:45Z","updated_at":"2015-11-06T12:56:44Z","closed_at":"2015-11-06T12:56:44Z","merged_at":"2015-11-06T12:56:44Z","merge_commit_sha":"f17eda4d6e84477c83f1e7e20870da860719e5e1","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mattermost/platform/pulls/1329/commits","review_comments_url":"https://api.github.com/repos/mattermost/platform/pulls/1329/comments","review_comment_url":"https://api.github.com/repos/mattermost/platform/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mattermost/platform/issues/1329/comments","statuses_url":"https://api.github.com/repos/mattermost/platform/statuses/c1baee398493434f7684f2db5ad48cc4b1b59279","head":{"label":"florianorben:no_panic_on_webhook_err","ref":"no_panic_on_webhook_err","sha":"c1baee398493434f7684f2db5ad48cc4b1b59279","user":{"login":"florianorben","id":1024005,"avatar_url":"https://avatars.githubusercontent.com/u/1024005?v=3","gravatar_id":"","url":"https://api.github.com/users/florianorben","html_url":"https://github.com/florianorben","followers_url":"https://api.github.com/users/florianorben/followers","following_url":"https://api.github.com/users/florianorben/following{/other_user}","gists_url":"https://api.github.com/users/florianorben/gists{/gist_id}","starred_url":"https://api.github.com/users/florianorben/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/florianorben/subscriptions","organizations_url":"https://api.github.com/users/florianorben/orgs","repos_url":"https://api.github.com/users/florianorben/repos","events_url":"https://api.github.com/users/florianorben/events{/privacy}","received_events_url":"https://api.github.com/users/florianorben/received_events","type":"User","site_admin":false},"repo":{"id":44068501,"name":"platform","full_name":"florianorben/platform","owner":{"login":"florianorben","id":1024005,"avatar_url":"https://avatars.githubusercontent.com/u/1024005?v=3","gravatar_id":"","url":"https://api.github.com/users/florianorben","html_url":"https://github.com/florianorben","followers_url":"https://api.github.com/users/florianorben/followers","following_url":"https://api.github.com/users/florianorben/following{/other_user}","gists_url":"https://api.github.com/users/florianorben/gists{/gist_id}","starred_url":"https://api.github.com/users/florianorben/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/florianorben/subscriptions","organizations_url":"https://api.github.com/users/florianorben/orgs","repos_url":"https://api.github.com/users/florianorben/repos","events_url":"https://api.github.com/users/florianorben/events{/privacy}","received_events_url":"https://api.github.com/users/florianorben/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/florianorben/platform","description":"Open source Slack-alternative in Golang and React","fork":true,"url":"https://api.github.com/repos/florianorben/platform","forks_url":"https://api.github.com/repos/florianorben/platform/forks","keys_url":"https://api.github.com/repos/florianorben/platform/keys{/key_id}","collaborators_url":"https://api.github.com/repos/florianorben/platform/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/florianorben/platform/teams","hooks_url":"https://api.github.com/repos/florianorben/platform/hooks","issue_events_url":"https://api.github.com/repos/florianorben/platform/issues/events{/number}","events_url":"https://api.github.com/repos/florianorben/platform/events","assignees_url":"https://api.github.com/repos/florianorben/platform/assignees{/user}","branches_url":"https://api.github.com/repos/florianorben/platform/branches{/branch}","tags_url":"https://api.github.com/repos/florianorben/platform/tags","blobs_url":"https://api.github.com/repos/florianorben/platform/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/florianorben/platform/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/florianorben/platform/git/refs{/sha}","trees_url":"https://api.github.com/repos/florianorben/platform/git/trees{/sha}","statuses_url":"https://api.github.com/repos/florianorben/platform/statuses/{sha}","languages_url":"https://api.github.com/repos/florianorben/platform/languages","stargazers_url":"https://api.github.com/repos/florianorben/platform/stargazers","contributors_url":"https://api.github.com/repos/florianorben/platform/contributors","subscribers_url":"https://api.github.com/repos/florianorben/platform/subscribers","subscription_url":"https://api.github.com/repos/florianorben/platform/subscription","commits_url":"https://api.github.com/repos/florianorben/platform/commits{/sha}","git_commits_url":"https://api.github.com/repos/florianorben/platform/git/commits{/sha}","comments_url":"https://api.github.com/repos/florianorben/platform/comments{/number}","issue_comment_url":"https://api.github.com/repos/florianorben/platform/issues/comments{/number}","contents_url":"https://api.github.com/repos/florianorben/platform/contents/{+path}","compare_url":"https://api.github.com/repos/florianorben/platform/compare/{base}...{head}","merges_url":"https://api.github.com/repos/florianorben/platform/merges","archive_url":"https://api.github.com/repos/florianorben/platform/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/florianorben/platform/downloads","issues_url":"https://api.github.com/repos/florianorben/platform/issues{/number}","pulls_url":"https://api.github.com/repos/florianorben/platform/pulls{/number}","milestones_url":"https://api.github.com/repos/florianorben/platform/milestones{/number}","notifications_url":"https://api.github.com/repos/florianorben/platform/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/florianorben/platform/labels{/name}","releases_url":"https://api.github.com/repos/florianorben/platform/releases{/id}","created_at":"2015-10-11T20:32:07Z","updated_at":"2015-10-11T20:32:11Z","pushed_at":"2015-11-05T23:42:25Z","git_url":"git://github.com/florianorben/platform.git","ssh_url":"git@github.com:florianorben/platform.git","clone_url":"https://github.com/florianorben/platform.git","svn_url":"https://github.com/florianorben/platform","homepage":"http://mattermost.org","size":18028,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"mattermost:master","ref":"master","sha":"d96cb50b68adca9f035c7582f1ceefdde64fb4f7","user":{"login":"mattermost","id":9828093,"avatar_url":"https://avatars.githubusercontent.com/u/9828093?v=3","gravatar_id":"","url":"https://api.github.com/users/mattermost","html_url":"https://github.com/mattermost","followers_url":"https://api.github.com/users/mattermost/followers","following_url":"https://api.github.com/users/mattermost/following{/other_user}","gists_url":"https://api.github.com/users/mattermost/gists{/gist_id}","starred_url":"https://api.github.com/users/mattermost/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattermost/subscriptions","organizations_url":"https://api.github.com/users/mattermost/orgs","repos_url":"https://api.github.com/users/mattermost/repos","events_url":"https://api.github.com/users/mattermost/events{/privacy}","received_events_url":"https://api.github.com/users/mattermost/received_events","type":"Organization","site_admin":false},"repo":{"id":37448451,"name":"platform","full_name":"mattermost/platform","owner":{"login":"mattermost","id":9828093,"avatar_url":"https://avatars.githubusercontent.com/u/9828093?v=3","gravatar_id":"","url":"https://api.github.com/users/mattermost","html_url":"https://github.com/mattermost","followers_url":"https://api.github.com/users/mattermost/followers","following_url":"https://api.github.com/users/mattermost/following{/other_user}","gists_url":"https://api.github.com/users/mattermost/gists{/gist_id}","starred_url":"https://api.github.com/users/mattermost/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattermost/subscriptions","organizations_url":"https://api.github.com/users/mattermost/orgs","repos_url":"https://api.github.com/users/mattermost/repos","events_url":"https://api.github.com/users/mattermost/events{/privacy}","received_events_url":"https://api.github.com/users/mattermost/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mattermost/platform","description":"Open source Slack-alternative in Golang and React","fork":false,"url":"https://api.github.com/repos/mattermost/platform","forks_url":"https://api.github.com/repos/mattermost/platform/forks","keys_url":"https://api.github.com/repos/mattermost/platform/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mattermost/platform/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mattermost/platform/teams","hooks_url":"https://api.github.com/repos/mattermost/platform/hooks","issue_events_url":"https://api.github.com/repos/mattermost/platform/issues/events{/number}","events_url":"https://api.github.com/repos/mattermost/platform/events","assignees_url":"https://api.github.com/repos/mattermost/platform/assignees{/user}","branches_url":"https://api.github.com/repos/mattermost/platform/branches{/branch}","tags_url":"https://api.github.com/repos/mattermost/platform/tags","blobs_url":"https://api.github.com/repos/mattermost/platform/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mattermost/platform/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mattermost/platform/git/refs{/sha}","trees_url":"https://api.github.com/repos/mattermost/platform/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mattermost/platform/statuses/{sha}","languages_url":"https://api.github.com/repos/mattermost/platform/languages","stargazers_url":"https://api.github.com/repos/mattermost/platform/stargazers","contributors_url":"https://api.github.com/repos/mattermost/platform/contributors","subscribers_url":"https://api.github.com/repos/mattermost/platform/subscribers","subscription_url":"https://api.github.com/repos/mattermost/platform/subscription","commits_url":"https://api.github.com/repos/mattermost/platform/commits{/sha}","git_commits_url":"https://api.github.com/repos/mattermost/platform/git/commits{/sha}","comments_url":"https://api.github.com/repos/mattermost/platform/comments{/number}","issue_comment_url":"https://api.github.com/repos/mattermost/platform/issues/comments{/number}","contents_url":"https://api.github.com/repos/mattermost/platform/contents/{+path}","compare_url":"https://api.github.com/repos/mattermost/platform/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mattermost/platform/merges","archive_url":"https://api.github.com/repos/mattermost/platform/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mattermost/platform/downloads","issues_url":"https://api.github.com/repos/mattermost/platform/issues{/number}","pulls_url":"https://api.github.com/repos/mattermost/platform/pulls{/number}","milestones_url":"https://api.github.com/repos/mattermost/platform/milestones{/number}","notifications_url":"https://api.github.com/repos/mattermost/platform/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mattermost/platform/labels{/name}","releases_url":"https://api.github.com/repos/mattermost/platform/releases{/id}","created_at":"2015-06-15T06:50:02Z","updated_at":"2015-11-06T12:05:22Z","pushed_at":"2015-11-06T12:56:44Z","git_url":"git://github.com/mattermost/platform.git","ssh_url":"git@github.com:mattermost/platform.git","clone_url":"https://github.com/mattermost/platform.git","svn_url":"https://github.com/mattermost/platform","homepage":"http://mattermost.org","size":29339,"stargazers_count":5519,"watchers_count":5519,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":457,"mirror_url":null,"open_issues_count":49,"forks":457,"open_issues":49,"watchers":5519,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mattermost/platform/pulls/1329"},"html":{"href":"https://github.com/mattermost/platform/pull/1329"},"issue":{"href":"https://api.github.com/repos/mattermost/platform/issues/1329"},"comments":{"href":"https://api.github.com/repos/mattermost/platform/issues/1329/comments"},"review_comments":{"href":"https://api.github.com/repos/mattermost/platform/pulls/1329/comments"},"review_comment":{"href":"https://api.github.com/repos/mattermost/platform/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mattermost/platform/pulls/1329/commits"},"statuses":{"href":"https://api.github.com/repos/mattermost/platform/statuses/c1baee398493434f7684f2db5ad48cc4b1b59279"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"jwilander","id":2672098,"avatar_url":"https://avatars.githubusercontent.com/u/2672098?v=3","gravatar_id":"","url":"https://api.github.com/users/jwilander","html_url":"https://github.com/jwilander","followers_url":"https://api.github.com/users/jwilander/followers","following_url":"https://api.github.com/users/jwilander/following{/other_user}","gists_url":"https://api.github.com/users/jwilander/gists{/gist_id}","starred_url":"https://api.github.com/users/jwilander/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwilander/subscriptions","organizations_url":"https://api.github.com/users/jwilander/orgs","repos_url":"https://api.github.com/users/jwilander/repos","events_url":"https://api.github.com/users/jwilander/events{/privacy}","received_events_url":"https://api.github.com/users/jwilander/received_events","type":"User","site_admin":false},"comments":2,"review_comments":0,"commits":1,"additions":5,"deletions":0,"changed_files":1}}