{"action":"created","comment":{"url":"https://api.github.com/repos/laravel/valet/pulls/comments/79714625","id":79714625,"diff_hunk":"@@ -73,7 +110,8 @@ function show_valet_404()\n  * Overwrite the HTTP host for Ngrok.\n  */\n if (isset($_SERVER['HTTP_X_ORIGINAL_HOST'])) {\n-    $_SERVER['HTTP_HOST'] = $_SERVER['HTTP_X_ORIGINAL_HOST'];\n+    // Filter host to support xip.io feature\n+    $_SERVER['HTTP_HOST'] = support_xip_io($_SERVER['HTTP_X_ORIGINAL_HOST']);","path":"server.php","position":57,"original_position":57,"commit_id":"affd31302c58d93cf088a8574c50fe4876f2dc60","original_commit_id":"affd31302c58d93cf088a8574c50fe4876f2dc60","user":{"login":"adamwathan","id":4323180,"avatar_url":"https://avatars.githubusercontent.com/u/4323180?v=3","gravatar_id":"","url":"https://api.github.com/users/adamwathan","html_url":"https://github.com/adamwathan","followers_url":"https://api.github.com/users/adamwathan/followers","following_url":"https://api.github.com/users/adamwathan/following{/other_user}","gists_url":"https://api.github.com/users/adamwathan/gists{/gist_id}","starred_url":"https://api.github.com/users/adamwathan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamwathan/subscriptions","organizations_url":"https://api.github.com/users/adamwathan/orgs","repos_url":"https://api.github.com/users/adamwathan/repos","events_url":"https://api.github.com/users/adamwathan/events{/privacy}","received_events_url":"https://api.github.com/users/adamwathan/received_events","type":"User","site_admin":false},"body":"This can be reverted back to what it previously was; again, we don't actually want to change the HTTP_HOST server variable, it needs to stay as the full `xip.io` URL.","created_at":"2016-09-20T21:17:05Z","updated_at":"2016-09-20T21:17:56Z","html_url":"https://github.com/laravel/valet/pull/126#discussion_r79714625","pull_request_url":"https://api.github.com/repos/laravel/valet/pulls/126","_links":{"self":{"href":"https://api.github.com/repos/laravel/valet/pulls/comments/79714625"},"html":{"href":"https://github.com/laravel/valet/pull/126#discussion_r79714625"},"pull_request":{"href":"https://api.github.com/repos/laravel/valet/pulls/126"}}},"pull_request":{"url":"https://api.github.com/repos/laravel/valet/pulls/126","id":82919873,"html_url":"https://github.com/laravel/valet/pull/126","diff_url":"https://github.com/laravel/valet/pull/126.diff","patch_url":"https://github.com/laravel/valet/pull/126.patch","issue_url":"https://api.github.com/repos/laravel/valet/issues/126","number":126,"state":"open","locked":false,"title":"Support xip.io feature","user":{"login":"Gounlaf","id":236413,"avatar_url":"https://avatars.githubusercontent.com/u/236413?v=3","gravatar_id":"","url":"https://api.github.com/users/Gounlaf","html_url":"https://github.com/Gounlaf","followers_url":"https://api.github.com/users/Gounlaf/followers","following_url":"https://api.github.com/users/Gounlaf/following{/other_user}","gists_url":"https://api.github.com/users/Gounlaf/gists{/gist_id}","starred_url":"https://api.github.com/users/Gounlaf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gounlaf/subscriptions","organizations_url":"https://api.github.com/users/Gounlaf/orgs","repos_url":"https://api.github.com/users/Gounlaf/repos","events_url":"https://api.github.com/users/Gounlaf/events{/privacy}","received_events_url":"https://api.github.com/users/Gounlaf/received_events","type":"User","site_admin":false},"body":"* Add support for IPv4 (xip.io only support IPv4)","created_at":"2016-08-26T16:53:37Z","updated_at":"2016-09-20T21:17:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9fc5e565bfe616ab912dd78d92d20772e115aba1","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/laravel/valet/pulls/126/commits","review_comments_url":"https://api.github.com/repos/laravel/valet/pulls/126/comments","review_comment_url":"https://api.github.com/repos/laravel/valet/pulls/comments{/number}","comments_url":"https://api.github.com/repos/laravel/valet/issues/126/comments","statuses_url":"https://api.github.com/repos/laravel/valet/statuses/affd31302c58d93cf088a8574c50fe4876f2dc60","head":{"label":"Gounlaf:xip.io","ref":"xip.io","sha":"affd31302c58d93cf088a8574c50fe4876f2dc60","user":{"login":"Gounlaf","id":236413,"avatar_url":"https://avatars.githubusercontent.com/u/236413?v=3","gravatar_id":"","url":"https://api.github.com/users/Gounlaf","html_url":"https://github.com/Gounlaf","followers_url":"https://api.github.com/users/Gounlaf/followers","following_url":"https://api.github.com/users/Gounlaf/following{/other_user}","gists_url":"https://api.github.com/users/Gounlaf/gists{/gist_id}","starred_url":"https://api.github.com/users/Gounlaf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gounlaf/subscriptions","organizations_url":"https://api.github.com/users/Gounlaf/orgs","repos_url":"https://api.github.com/users/Gounlaf/repos","events_url":"https://api.github.com/users/Gounlaf/events{/privacy}","received_events_url":"https://api.github.com/users/Gounlaf/received_events","type":"User","site_admin":false},"repo":{"id":66663255,"name":"valet","full_name":"Gounlaf/valet","owner":{"login":"Gounlaf","id":236413,"avatar_url":"https://avatars.githubusercontent.com/u/236413?v=3","gravatar_id":"","url":"https://api.github.com/users/Gounlaf","html_url":"https://github.com/Gounlaf","followers_url":"https://api.github.com/users/Gounlaf/followers","following_url":"https://api.github.com/users/Gounlaf/following{/other_user}","gists_url":"https://api.github.com/users/Gounlaf/gists{/gist_id}","starred_url":"https://api.github.com/users/Gounlaf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gounlaf/subscriptions","organizations_url":"https://api.github.com/users/Gounlaf/orgs","repos_url":"https://api.github.com/users/Gounlaf/repos","events_url":"https://api.github.com/users/Gounlaf/events{/privacy}","received_events_url":"https://api.github.com/users/Gounlaf/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Gounlaf/valet","description":null,"fork":true,"url":"https://api.github.com/repos/Gounlaf/valet","forks_url":"https://api.github.com/repos/Gounlaf/valet/forks","keys_url":"https://api.github.com/repos/Gounlaf/valet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Gounlaf/valet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Gounlaf/valet/teams","hooks_url":"https://api.github.com/repos/Gounlaf/valet/hooks","issue_events_url":"https://api.github.com/repos/Gounlaf/valet/issues/events{/number}","events_url":"https://api.github.com/repos/Gounlaf/valet/events","assignees_url":"https://api.github.com/repos/Gounlaf/valet/assignees{/user}","branches_url":"https://api.github.com/repos/Gounlaf/valet/branches{/branch}","tags_url":"https://api.github.com/repos/Gounlaf/valet/tags","blobs_url":"https://api.github.com/repos/Gounlaf/valet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Gounlaf/valet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Gounlaf/valet/git/refs{/sha}","trees_url":"https://api.github.com/repos/Gounlaf/valet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Gounlaf/valet/statuses/{sha}","languages_url":"https://api.github.com/repos/Gounlaf/valet/languages","stargazers_url":"https://api.github.com/repos/Gounlaf/valet/stargazers","contributors_url":"https://api.github.com/repos/Gounlaf/valet/contributors","subscribers_url":"https://api.github.com/repos/Gounlaf/valet/subscribers","subscription_url":"https://api.github.com/repos/Gounlaf/valet/subscription","commits_url":"https://api.github.com/repos/Gounlaf/valet/commits{/sha}","git_commits_url":"https://api.github.com/repos/Gounlaf/valet/git/commits{/sha}","comments_url":"https://api.github.com/repos/Gounlaf/valet/comments{/number}","issue_comment_url":"https://api.github.com/repos/Gounlaf/valet/issues/comments{/number}","contents_url":"https://api.github.com/repos/Gounlaf/valet/contents/{+path}","compare_url":"https://api.github.com/repos/Gounlaf/valet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Gounlaf/valet/merges","archive_url":"https://api.github.com/repos/Gounlaf/valet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Gounlaf/valet/downloads","issues_url":"https://api.github.com/repos/Gounlaf/valet/issues{/number}","pulls_url":"https://api.github.com/repos/Gounlaf/valet/pulls{/number}","milestones_url":"https://api.github.com/repos/Gounlaf/valet/milestones{/number}","notifications_url":"https://api.github.com/repos/Gounlaf/valet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Gounlaf/valet/labels{/name}","releases_url":"https://api.github.com/repos/Gounlaf/valet/releases{/id}","deployments_url":"https://api.github.com/repos/Gounlaf/valet/deployments","created_at":"2016-08-26T16:34:08Z","updated_at":"2016-08-26T16:34:10Z","pushed_at":"2016-09-16T17:20:25Z","git_url":"git://github.com/Gounlaf/valet.git","ssh_url":"git@github.com:Gounlaf/valet.git","clone_url":"https://github.com/Gounlaf/valet.git","svn_url":"https://github.com/Gounlaf/valet","homepage":null,"size":8562,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"laravel:master","ref":"master","sha":"579e398ea779e4819d5f5248ebf796b01afe470b","user":{"login":"laravel","id":958072,"avatar_url":"https://avatars.githubusercontent.com/u/958072?v=3","gravatar_id":"","url":"https://api.github.com/users/laravel","html_url":"https://github.com/laravel","followers_url":"https://api.github.com/users/laravel/followers","following_url":"https://api.github.com/users/laravel/following{/other_user}","gists_url":"https://api.github.com/users/laravel/gists{/gist_id}","starred_url":"https://api.github.com/users/laravel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laravel/subscriptions","organizations_url":"https://api.github.com/users/laravel/orgs","repos_url":"https://api.github.com/users/laravel/repos","events_url":"https://api.github.com/users/laravel/events{/privacy}","received_events_url":"https://api.github.com/users/laravel/received_events","type":"Organization","site_admin":false},"repo":{"id":58001483,"name":"valet","full_name":"laravel/valet","owner":{"login":"laravel","id":958072,"avatar_url":"https://avatars.githubusercontent.com/u/958072?v=3","gravatar_id":"","url":"https://api.github.com/users/laravel","html_url":"https://github.com/laravel","followers_url":"https://api.github.com/users/laravel/followers","following_url":"https://api.github.com/users/laravel/following{/other_user}","gists_url":"https://api.github.com/users/laravel/gists{/gist_id}","starred_url":"https://api.github.com/users/laravel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laravel/subscriptions","organizations_url":"https://api.github.com/users/laravel/orgs","repos_url":"https://api.github.com/users/laravel/repos","events_url":"https://api.github.com/users/laravel/events{/privacy}","received_events_url":"https://api.github.com/users/laravel/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/laravel/valet","description":"","fork":false,"url":"https://api.github.com/repos/laravel/valet","forks_url":"https://api.github.com/repos/laravel/valet/forks","keys_url":"https://api.github.com/repos/laravel/valet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/laravel/valet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/laravel/valet/teams","hooks_url":"https://api.github.com/repos/laravel/valet/hooks","issue_events_url":"https://api.github.com/repos/laravel/valet/issues/events{/number}","events_url":"https://api.github.com/repos/laravel/valet/events","assignees_url":"https://api.github.com/repos/laravel/valet/assignees{/user}","branches_url":"https://api.github.com/repos/laravel/valet/branches{/branch}","tags_url":"https://api.github.com/repos/laravel/valet/tags","blobs_url":"https://api.github.com/repos/laravel/valet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/laravel/valet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/laravel/valet/git/refs{/sha}","trees_url":"https://api.github.com/repos/laravel/valet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/laravel/valet/statuses/{sha}","languages_url":"https://api.github.com/repos/laravel/valet/languages","stargazers_url":"https://api.github.com/repos/laravel/valet/stargazers","contributors_url":"https://api.github.com/repos/laravel/valet/contributors","subscribers_url":"https://api.github.com/repos/laravel/valet/subscribers","subscription_url":"https://api.github.com/repos/laravel/valet/subscription","commits_url":"https://api.github.com/repos/laravel/valet/commits{/sha}","git_commits_url":"https://api.github.com/repos/laravel/valet/git/commits{/sha}","comments_url":"https://api.github.com/repos/laravel/valet/comments{/number}","issue_comment_url":"https://api.github.com/repos/laravel/valet/issues/comments{/number}","contents_url":"https://api.github.com/repos/laravel/valet/contents/{+path}","compare_url":"https://api.github.com/repos/laravel/valet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/laravel/valet/merges","archive_url":"https://api.github.com/repos/laravel/valet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/laravel/valet/downloads","issues_url":"https://api.github.com/repos/laravel/valet/issues{/number}","pulls_url":"https://api.github.com/repos/laravel/valet/pulls{/number}","milestones_url":"https://api.github.com/repos/laravel/valet/milestones{/number}","notifications_url":"https://api.github.com/repos/laravel/valet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/laravel/valet/labels{/name}","releases_url":"https://api.github.com/repos/laravel/valet/releases{/id}","deployments_url":"https://api.github.com/repos/laravel/valet/deployments","created_at":"2016-05-03T21:02:59Z","updated_at":"2016-09-20T14:36:17Z","pushed_at":"2016-09-20T15:32:18Z","git_url":"git://github.com/laravel/valet.git","ssh_url":"git@github.com:laravel/valet.git","clone_url":"https://github.com/laravel/valet.git","svn_url":"https://github.com/laravel/valet","homepage":null,"size":15533,"stargazers_count":520,"watchers_count":520,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":144,"mirror_url":null,"open_issues_count":48,"forks":144,"open_issues":48,"watchers":520,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/laravel/valet/pulls/126"},"html":{"href":"https://github.com/laravel/valet/pull/126"},"issue":{"href":"https://api.github.com/repos/laravel/valet/issues/126"},"comments":{"href":"https://api.github.com/repos/laravel/valet/issues/126/comments"},"review_comments":{"href":"https://api.github.com/repos/laravel/valet/pulls/126/comments"},"review_comment":{"href":"https://api.github.com/repos/laravel/valet/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/laravel/valet/pulls/126/commits"},"statuses":{"href":"https://api.github.com/repos/laravel/valet/statuses/affd31302c58d93cf088a8574c50fe4876f2dc60"}}}}
{"actor":{"display_login":"adamwathan"}}