{"action":"closed","number":1418,"pull_request":{"url":"https://api.github.com/repos/chef/supermarket/pulls/1418","id":83347022,"html_url":"https://github.com/chef/supermarket/pull/1418","diff_url":"https://github.com/chef/supermarket/pull/1418.diff","patch_url":"https://github.com/chef/supermarket/pull/1418.patch","issue_url":"https://api.github.com/repos/chef/supermarket/issues/1418","number":1418,"state":"closed","locked":false,"title":"Case insensitive hostname","user":{"login":"tvinhas","id":10533297,"avatar_url":"https://avatars.githubusercontent.com/u/10533297?v=3","gravatar_id":"","url":"https://api.github.com/users/tvinhas","html_url":"https://github.com/tvinhas","followers_url":"https://api.github.com/users/tvinhas/followers","following_url":"https://api.github.com/users/tvinhas/following{/other_user}","gists_url":"https://api.github.com/users/tvinhas/gists{/gist_id}","starred_url":"https://api.github.com/users/tvinhas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tvinhas/subscriptions","organizations_url":"https://api.github.com/users/tvinhas/orgs","repos_url":"https://api.github.com/users/tvinhas/repos","events_url":"https://api.github.com/users/tvinhas/events{/privacy}","received_events_url":"https://api.github.com/users/tvinhas/received_events","type":"User","site_admin":false},"body":"Right now if you have a uppercase character in the hostname of your supermarket server and you try to access it thru http instead of https, an endless loop will occur because the regexp code on site-enabled/rails doesn't match the uppercase name. A simple * will fix regexp.\r\n\r\nFixes #1412","created_at":"2016-08-30T21:04:21Z","updated_at":"2016-08-31T20:37:21Z","closed_at":"2016-08-31T20:37:21Z","merged_at":"2016-08-31T20:37:21Z","merge_commit_sha":"00ddbef65eeecbe6ae1b61c1528470d4baf5f1ac","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/chef/supermarket/pulls/1418/commits","review_comments_url":"https://api.github.com/repos/chef/supermarket/pulls/1418/comments","review_comment_url":"https://api.github.com/repos/chef/supermarket/pulls/comments{/number}","comments_url":"https://api.github.com/repos/chef/supermarket/issues/1418/comments","statuses_url":"https://api.github.com/repos/chef/supermarket/statuses/00ddbef65eeecbe6ae1b61c1528470d4baf5f1ac","head":{"label":"chef:case-sensitive-nginx","ref":"case-sensitive-nginx","sha":"00ddbef65eeecbe6ae1b61c1528470d4baf5f1ac","user":{"login":"chef","id":29740,"avatar_url":"https://avatars.githubusercontent.com/u/29740?v=3","gravatar_id":"","url":"https://api.github.com/users/chef","html_url":"https://github.com/chef","followers_url":"https://api.github.com/users/chef/followers","following_url":"https://api.github.com/users/chef/following{/other_user}","gists_url":"https://api.github.com/users/chef/gists{/gist_id}","starred_url":"https://api.github.com/users/chef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chef/subscriptions","organizations_url":"https://api.github.com/users/chef/orgs","repos_url":"https://api.github.com/users/chef/repos","events_url":"https://api.github.com/users/chef/events{/privacy}","received_events_url":"https://api.github.com/users/chef/received_events","type":"Organization","site_admin":false},"repo":{"id":13633443,"name":"supermarket","full_name":"chef/supermarket","owner":{"login":"chef","id":29740,"avatar_url":"https://avatars.githubusercontent.com/u/29740?v=3","gravatar_id":"","url":"https://api.github.com/users/chef","html_url":"https://github.com/chef","followers_url":"https://api.github.com/users/chef/followers","following_url":"https://api.github.com/users/chef/following{/other_user}","gists_url":"https://api.github.com/users/chef/gists{/gist_id}","starred_url":"https://api.github.com/users/chef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chef/subscriptions","organizations_url":"https://api.github.com/users/chef/orgs","repos_url":"https://api.github.com/users/chef/repos","events_url":"https://api.github.com/users/chef/events{/privacy}","received_events_url":"https://api.github.com/users/chef/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/chef/supermarket","description":"Chef's community platform","fork":false,"url":"https://api.github.com/repos/chef/supermarket","forks_url":"https://api.github.com/repos/chef/supermarket/forks","keys_url":"https://api.github.com/repos/chef/supermarket/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chef/supermarket/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chef/supermarket/teams","hooks_url":"https://api.github.com/repos/chef/supermarket/hooks","issue_events_url":"https://api.github.com/repos/chef/supermarket/issues/events{/number}","events_url":"https://api.github.com/repos/chef/supermarket/events","assignees_url":"https://api.github.com/repos/chef/supermarket/assignees{/user}","branches_url":"https://api.github.com/repos/chef/supermarket/branches{/branch}","tags_url":"https://api.github.com/repos/chef/supermarket/tags","blobs_url":"https://api.github.com/repos/chef/supermarket/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chef/supermarket/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chef/supermarket/git/refs{/sha}","trees_url":"https://api.github.com/repos/chef/supermarket/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chef/supermarket/statuses/{sha}","languages_url":"https://api.github.com/repos/chef/supermarket/languages","stargazers_url":"https://api.github.com/repos/chef/supermarket/stargazers","contributors_url":"https://api.github.com/repos/chef/supermarket/contributors","subscribers_url":"https://api.github.com/repos/chef/supermarket/subscribers","subscription_url":"https://api.github.com/repos/chef/supermarket/subscription","commits_url":"https://api.github.com/repos/chef/supermarket/commits{/sha}","git_commits_url":"https://api.github.com/repos/chef/supermarket/git/commits{/sha}","comments_url":"https://api.github.com/repos/chef/supermarket/comments{/number}","issue_comment_url":"https://api.github.com/repos/chef/supermarket/issues/comments{/number}","contents_url":"https://api.github.com/repos/chef/supermarket/contents/{+path}","compare_url":"https://api.github.com/repos/chef/supermarket/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chef/supermarket/merges","archive_url":"https://api.github.com/repos/chef/supermarket/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chef/supermarket/downloads","issues_url":"https://api.github.com/repos/chef/supermarket/issues{/number}","pulls_url":"https://api.github.com/repos/chef/supermarket/pulls{/number}","milestones_url":"https://api.github.com/repos/chef/supermarket/milestones{/number}","notifications_url":"https://api.github.com/repos/chef/supermarket/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chef/supermarket/labels{/name}","releases_url":"https://api.github.com/repos/chef/supermarket/releases{/id}","deployments_url":"https://api.github.com/repos/chef/supermarket/deployments","created_at":"2013-10-16T22:54:53Z","updated_at":"2016-07-23T05:05:42Z","pushed_at":"2016-08-31T20:37:20Z","git_url":"git://github.com/chef/supermarket.git","ssh_url":"git@github.com:chef/supermarket.git","clone_url":"https://github.com/chef/supermarket.git","svn_url":"https://github.com/chef/supermarket","homepage":"https://supermarket.chef.io/","size":6886,"stargazers_count":156,"watchers_count":156,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":68,"mirror_url":null,"open_issues_count":65,"forks":68,"open_issues":65,"watchers":156,"default_branch":"master"}},"base":{"label":"chef:master","ref":"master","sha":"9262baa2dfa7a0815da572d139686350d0e13b0e","user":{"login":"chef","id":29740,"avatar_url":"https://avatars.githubusercontent.com/u/29740?v=3","gravatar_id":"","url":"https://api.github.com/users/chef","html_url":"https://github.com/chef","followers_url":"https://api.github.com/users/chef/followers","following_url":"https://api.github.com/users/chef/following{/other_user}","gists_url":"https://api.github.com/users/chef/gists{/gist_id}","starred_url":"https://api.github.com/users/chef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chef/subscriptions","organizations_url":"https://api.github.com/users/chef/orgs","repos_url":"https://api.github.com/users/chef/repos","events_url":"https://api.github.com/users/chef/events{/privacy}","received_events_url":"https://api.github.com/users/chef/received_events","type":"Organization","site_admin":false},"repo":{"id":13633443,"name":"supermarket","full_name":"chef/supermarket","owner":{"login":"chef","id":29740,"avatar_url":"https://avatars.githubusercontent.com/u/29740?v=3","gravatar_id":"","url":"https://api.github.com/users/chef","html_url":"https://github.com/chef","followers_url":"https://api.github.com/users/chef/followers","following_url":"https://api.github.com/users/chef/following{/other_user}","gists_url":"https://api.github.com/users/chef/gists{/gist_id}","starred_url":"https://api.github.com/users/chef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chef/subscriptions","organizations_url":"https://api.github.com/users/chef/orgs","repos_url":"https://api.github.com/users/chef/repos","events_url":"https://api.github.com/users/chef/events{/privacy}","received_events_url":"https://api.github.com/users/chef/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/chef/supermarket","description":"Chef's community platform","fork":false,"url":"https://api.github.com/repos/chef/supermarket","forks_url":"https://api.github.com/repos/chef/supermarket/forks","keys_url":"https://api.github.com/repos/chef/supermarket/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chef/supermarket/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chef/supermarket/teams","hooks_url":"https://api.github.com/repos/chef/supermarket/hooks","issue_events_url":"https://api.github.com/repos/chef/supermarket/issues/events{/number}","events_url":"https://api.github.com/repos/chef/supermarket/events","assignees_url":"https://api.github.com/repos/chef/supermarket/assignees{/user}","branches_url":"https://api.github.com/repos/chef/supermarket/branches{/branch}","tags_url":"https://api.github.com/repos/chef/supermarket/tags","blobs_url":"https://api.github.com/repos/chef/supermarket/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chef/supermarket/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chef/supermarket/git/refs{/sha}","trees_url":"https://api.github.com/repos/chef/supermarket/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chef/supermarket/statuses/{sha}","languages_url":"https://api.github.com/repos/chef/supermarket/languages","stargazers_url":"https://api.github.com/repos/chef/supermarket/stargazers","contributors_url":"https://api.github.com/repos/chef/supermarket/contributors","subscribers_url":"https://api.github.com/repos/chef/supermarket/subscribers","subscription_url":"https://api.github.com/repos/chef/supermarket/subscription","commits_url":"https://api.github.com/repos/chef/supermarket/commits{/sha}","git_commits_url":"https://api.github.com/repos/chef/supermarket/git/commits{/sha}","comments_url":"https://api.github.com/repos/chef/supermarket/comments{/number}","issue_comment_url":"https://api.github.com/repos/chef/supermarket/issues/comments{/number}","contents_url":"https://api.github.com/repos/chef/supermarket/contents/{+path}","compare_url":"https://api.github.com/repos/chef/supermarket/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chef/supermarket/merges","archive_url":"https://api.github.com/repos/chef/supermarket/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chef/supermarket/downloads","issues_url":"https://api.github.com/repos/chef/supermarket/issues{/number}","pulls_url":"https://api.github.com/repos/chef/supermarket/pulls{/number}","milestones_url":"https://api.github.com/repos/chef/supermarket/milestones{/number}","notifications_url":"https://api.github.com/repos/chef/supermarket/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chef/supermarket/labels{/name}","releases_url":"https://api.github.com/repos/chef/supermarket/releases{/id}","deployments_url":"https://api.github.com/repos/chef/supermarket/deployments","created_at":"2013-10-16T22:54:53Z","updated_at":"2016-07-23T05:05:42Z","pushed_at":"2016-08-31T20:37:20Z","git_url":"git://github.com/chef/supermarket.git","ssh_url":"git@github.com:chef/supermarket.git","clone_url":"https://github.com/chef/supermarket.git","svn_url":"https://github.com/chef/supermarket","homepage":"https://supermarket.chef.io/","size":6886,"stargazers_count":156,"watchers_count":156,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":68,"mirror_url":null,"open_issues_count":65,"forks":68,"open_issues":65,"watchers":156,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/chef/supermarket/pulls/1418"},"html":{"href":"https://github.com/chef/supermarket/pull/1418"},"issue":{"href":"https://api.github.com/repos/chef/supermarket/issues/1418"},"comments":{"href":"https://api.github.com/repos/chef/supermarket/issues/1418/comments"},"review_comments":{"href":"https://api.github.com/repos/chef/supermarket/pulls/1418/comments"},"review_comment":{"href":"https://api.github.com/repos/chef/supermarket/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/chef/supermarket/pulls/1418/commits"},"statuses":{"href":"https://api.github.com/repos/chef/supermarket/statuses/00ddbef65eeecbe6ae1b61c1528470d4baf5f1ac"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"chef-delivery","id":11063783,"avatar_url":"https://avatars.githubusercontent.com/u/11063783?v=3","gravatar_id":"","url":"https://api.github.com/users/chef-delivery","html_url":"https://github.com/chef-delivery","followers_url":"https://api.github.com/users/chef-delivery/followers","following_url":"https://api.github.com/users/chef-delivery/following{/other_user}","gists_url":"https://api.github.com/users/chef-delivery/gists{/gist_id}","starred_url":"https://api.github.com/users/chef-delivery/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chef-delivery/subscriptions","organizations_url":"https://api.github.com/users/chef-delivery/orgs","repos_url":"https://api.github.com/users/chef-delivery/repos","events_url":"https://api.github.com/users/chef-delivery/events{/privacy}","received_events_url":"https://api.github.com/users/chef-delivery/received_events","type":"User","site_admin":false},"comments":4,"review_comments":0,"commits":2,"additions":2,"deletions":2,"changed_files":2}}
{"actor":{"display_login":"chef-delivery"}}