{"action":"opened","number":915,"pull_request":{"url":"https://api.github.com/repos/PerlDancer/Dancer2/pulls/915","id":36289670,"html_url":"https://github.com/PerlDancer/Dancer2/pull/915","diff_url":"https://github.com/PerlDancer/Dancer2/pull/915.diff","patch_url":"https://github.com/PerlDancer/Dancer2/pull/915.patch","issue_url":"https://api.github.com/repos/PerlDancer/Dancer2/issues/915","number":915,"state":"open","locked":false,"title":"Improve error info when no HTTP_X_FORWARDED_HOST","user":{"login":"abeverley","id":4589486,"avatar_url":"https://avatars.githubusercontent.com/u/4589486?v=3","gravatar_id":"","url":"https://api.github.com/users/abeverley","html_url":"https://github.com/abeverley","followers_url":"https://api.github.com/users/abeverley/followers","following_url":"https://api.github.com/users/abeverley/following{/other_user}","gists_url":"https://api.github.com/users/abeverley/gists{/gist_id}","starred_url":"https://api.github.com/users/abeverley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abeverley/subscriptions","organizations_url":"https://api.github.com/users/abeverley/orgs","repos_url":"https://api.github.com/users/abeverley/repos","events_url":"https://api.github.com/users/abeverley/events{/privacy}","received_events_url":"https://api.github.com/users/abeverley/received_events","type":"User","site_admin":false},"body":"If behind_proxy is set but no HTTP_X_FORWARDED_HOST header is received (such as if the proxy's request was from a client using HTTP/1.0), then Dancer dies with a rather mysterious \"Use of uninitialized value in split\" error message. This patch improves the error message to help with\r\ndebugging.\r\n\r\nIncidentally, this problem is confounded when subsequent requests are made from the proxy (even with HTTP/1.1) as the environment variables have already been set. I'm not sure whether this requires a\r\nfurther patch? If not, this patch at least makes it easier to fix the problem.","created_at":"2015-05-27T10:31:50Z","updated_at":"2015-05-27T10:31:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/PerlDancer/Dancer2/pulls/915/commits","review_comments_url":"https://api.github.com/repos/PerlDancer/Dancer2/pulls/915/comments","review_comment_url":"https://api.github.com/repos/PerlDancer/Dancer2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/PerlDancer/Dancer2/issues/915/comments","statuses_url":"https://api.github.com/repos/PerlDancer/Dancer2/statuses/83a3b3a2883af97a7e166a6d7efd0282a3c8b72a","head":{"label":"abeverley:host-error","ref":"host-error","sha":"83a3b3a2883af97a7e166a6d7efd0282a3c8b72a","user":{"login":"abeverley","id":4589486,"avatar_url":"https://avatars.githubusercontent.com/u/4589486?v=3","gravatar_id":"","url":"https://api.github.com/users/abeverley","html_url":"https://github.com/abeverley","followers_url":"https://api.github.com/users/abeverley/followers","following_url":"https://api.github.com/users/abeverley/following{/other_user}","gists_url":"https://api.github.com/users/abeverley/gists{/gist_id}","starred_url":"https://api.github.com/users/abeverley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abeverley/subscriptions","organizations_url":"https://api.github.com/users/abeverley/orgs","repos_url":"https://api.github.com/users/abeverley/repos","events_url":"https://api.github.com/users/abeverley/events{/privacy}","received_events_url":"https://api.github.com/users/abeverley/received_events","type":"User","site_admin":false},"repo":{"id":33787053,"name":"Dancer2","full_name":"abeverley/Dancer2","owner":{"login":"abeverley","id":4589486,"avatar_url":"https://avatars.githubusercontent.com/u/4589486?v=3","gravatar_id":"","url":"https://api.github.com/users/abeverley","html_url":"https://github.com/abeverley","followers_url":"https://api.github.com/users/abeverley/followers","following_url":"https://api.github.com/users/abeverley/following{/other_user}","gists_url":"https://api.github.com/users/abeverley/gists{/gist_id}","starred_url":"https://api.github.com/users/abeverley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abeverley/subscriptions","organizations_url":"https://api.github.com/users/abeverley/orgs","repos_url":"https://api.github.com/users/abeverley/repos","events_url":"https://api.github.com/users/abeverley/events{/privacy}","received_events_url":"https://api.github.com/users/abeverley/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/abeverley/Dancer2","description":"Perl Dancer Next Generation (rewrite of Perl Dancer)","fork":true,"url":"https://api.github.com/repos/abeverley/Dancer2","forks_url":"https://api.github.com/repos/abeverley/Dancer2/forks","keys_url":"https://api.github.com/repos/abeverley/Dancer2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/abeverley/Dancer2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/abeverley/Dancer2/teams","hooks_url":"https://api.github.com/repos/abeverley/Dancer2/hooks","issue_events_url":"https://api.github.com/repos/abeverley/Dancer2/issues/events{/number}","events_url":"https://api.github.com/repos/abeverley/Dancer2/events","assignees_url":"https://api.github.com/repos/abeverley/Dancer2/assignees{/user}","branches_url":"https://api.github.com/repos/abeverley/Dancer2/branches{/branch}","tags_url":"https://api.github.com/repos/abeverley/Dancer2/tags","blobs_url":"https://api.github.com/repos/abeverley/Dancer2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/abeverley/Dancer2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/abeverley/Dancer2/git/refs{/sha}","trees_url":"https://api.github.com/repos/abeverley/Dancer2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/abeverley/Dancer2/statuses/{sha}","languages_url":"https://api.github.com/repos/abeverley/Dancer2/languages","stargazers_url":"https://api.github.com/repos/abeverley/Dancer2/stargazers","contributors_url":"https://api.github.com/repos/abeverley/Dancer2/contributors","subscribers_url":"https://api.github.com/repos/abeverley/Dancer2/subscribers","subscription_url":"https://api.github.com/repos/abeverley/Dancer2/subscription","commits_url":"https://api.github.com/repos/abeverley/Dancer2/commits{/sha}","git_commits_url":"https://api.github.com/repos/abeverley/Dancer2/git/commits{/sha}","comments_url":"https://api.github.com/repos/abeverley/Dancer2/comments{/number}","issue_comment_url":"https://api.github.com/repos/abeverley/Dancer2/issues/comments{/number}","contents_url":"https://api.github.com/repos/abeverley/Dancer2/contents/{+path}","compare_url":"https://api.github.com/repos/abeverley/Dancer2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/abeverley/Dancer2/merges","archive_url":"https://api.github.com/repos/abeverley/Dancer2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/abeverley/Dancer2/downloads","issues_url":"https://api.github.com/repos/abeverley/Dancer2/issues{/number}","pulls_url":"https://api.github.com/repos/abeverley/Dancer2/pulls{/number}","milestones_url":"https://api.github.com/repos/abeverley/Dancer2/milestones{/number}","notifications_url":"https://api.github.com/repos/abeverley/Dancer2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/abeverley/Dancer2/labels{/name}","releases_url":"https://api.github.com/repos/abeverley/Dancer2/releases{/id}","created_at":"2015-04-11T18:22:56Z","updated_at":"2015-04-11T18:22:57Z","pushed_at":"2015-05-27T10:27:32Z","git_url":"git://github.com/abeverley/Dancer2.git","ssh_url":"git@github.com:abeverley/Dancer2.git","clone_url":"https://github.com/abeverley/Dancer2.git","svn_url":"https://github.com/abeverley/Dancer2","homepage":"http://perldancer.org/","size":4282,"stargazers_count":0,"watchers_count":0,"language":"Perl","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":"PerlDancer:master","ref":"master","sha":"267d8af662fccffe8c027ec1f01bfa97b10f290d","user":{"login":"PerlDancer","id":409763,"avatar_url":"https://avatars.githubusercontent.com/u/409763?v=3","gravatar_id":"","url":"https://api.github.com/users/PerlDancer","html_url":"https://github.com/PerlDancer","followers_url":"https://api.github.com/users/PerlDancer/followers","following_url":"https://api.github.com/users/PerlDancer/following{/other_user}","gists_url":"https://api.github.com/users/PerlDancer/gists{/gist_id}","starred_url":"https://api.github.com/users/PerlDancer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PerlDancer/subscriptions","organizations_url":"https://api.github.com/users/PerlDancer/orgs","repos_url":"https://api.github.com/users/PerlDancer/repos","events_url":"https://api.github.com/users/PerlDancer/events{/privacy}","received_events_url":"https://api.github.com/users/PerlDancer/received_events","type":"Organization","site_admin":false},"repo":{"id":2488436,"name":"Dancer2","full_name":"PerlDancer/Dancer2","owner":{"login":"PerlDancer","id":409763,"avatar_url":"https://avatars.githubusercontent.com/u/409763?v=3","gravatar_id":"","url":"https://api.github.com/users/PerlDancer","html_url":"https://github.com/PerlDancer","followers_url":"https://api.github.com/users/PerlDancer/followers","following_url":"https://api.github.com/users/PerlDancer/following{/other_user}","gists_url":"https://api.github.com/users/PerlDancer/gists{/gist_id}","starred_url":"https://api.github.com/users/PerlDancer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PerlDancer/subscriptions","organizations_url":"https://api.github.com/users/PerlDancer/orgs","repos_url":"https://api.github.com/users/PerlDancer/repos","events_url":"https://api.github.com/users/PerlDancer/events{/privacy}","received_events_url":"https://api.github.com/users/PerlDancer/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/PerlDancer/Dancer2","description":"Perl Dancer Next Generation (rewrite of Perl Dancer)","fork":false,"url":"https://api.github.com/repos/PerlDancer/Dancer2","forks_url":"https://api.github.com/repos/PerlDancer/Dancer2/forks","keys_url":"https://api.github.com/repos/PerlDancer/Dancer2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PerlDancer/Dancer2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PerlDancer/Dancer2/teams","hooks_url":"https://api.github.com/repos/PerlDancer/Dancer2/hooks","issue_events_url":"https://api.github.com/repos/PerlDancer/Dancer2/issues/events{/number}","events_url":"https://api.github.com/repos/PerlDancer/Dancer2/events","assignees_url":"https://api.github.com/repos/PerlDancer/Dancer2/assignees{/user}","branches_url":"https://api.github.com/repos/PerlDancer/Dancer2/branches{/branch}","tags_url":"https://api.github.com/repos/PerlDancer/Dancer2/tags","blobs_url":"https://api.github.com/repos/PerlDancer/Dancer2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PerlDancer/Dancer2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PerlDancer/Dancer2/git/refs{/sha}","trees_url":"https://api.github.com/repos/PerlDancer/Dancer2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PerlDancer/Dancer2/statuses/{sha}","languages_url":"https://api.github.com/repos/PerlDancer/Dancer2/languages","stargazers_url":"https://api.github.com/repos/PerlDancer/Dancer2/stargazers","contributors_url":"https://api.github.com/repos/PerlDancer/Dancer2/contributors","subscribers_url":"https://api.github.com/repos/PerlDancer/Dancer2/subscribers","subscription_url":"https://api.github.com/repos/PerlDancer/Dancer2/subscription","commits_url":"https://api.github.com/repos/PerlDancer/Dancer2/commits{/sha}","git_commits_url":"https://api.github.com/repos/PerlDancer/Dancer2/git/commits{/sha}","comments_url":"https://api.github.com/repos/PerlDancer/Dancer2/comments{/number}","issue_comment_url":"https://api.github.com/repos/PerlDancer/Dancer2/issues/comments{/number}","contents_url":"https://api.github.com/repos/PerlDancer/Dancer2/contents/{+path}","compare_url":"https://api.github.com/repos/PerlDancer/Dancer2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PerlDancer/Dancer2/merges","archive_url":"https://api.github.com/repos/PerlDancer/Dancer2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PerlDancer/Dancer2/downloads","issues_url":"https://api.github.com/repos/PerlDancer/Dancer2/issues{/number}","pulls_url":"https://api.github.com/repos/PerlDancer/Dancer2/pulls{/number}","milestones_url":"https://api.github.com/repos/PerlDancer/Dancer2/milestones{/number}","notifications_url":"https://api.github.com/repos/PerlDancer/Dancer2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PerlDancer/Dancer2/labels{/name}","releases_url":"https://api.github.com/repos/PerlDancer/Dancer2/releases{/id}","created_at":"2011-09-30T10:26:56Z","updated_at":"2015-05-22T04:37:20Z","pushed_at":"2015-05-26T11:47:32Z","git_url":"git://github.com/PerlDancer/Dancer2.git","ssh_url":"git@github.com:PerlDancer/Dancer2.git","clone_url":"https://github.com/PerlDancer/Dancer2.git","svn_url":"https://github.com/PerlDancer/Dancer2","homepage":"http://perldancer.org/","size":10830,"stargazers_count":263,"watchers_count":263,"language":"Perl","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":157,"mirror_url":null,"open_issues_count":79,"forks":157,"open_issues":79,"watchers":263,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/PerlDancer/Dancer2/pulls/915"},"html":{"href":"https://github.com/PerlDancer/Dancer2/pull/915"},"issue":{"href":"https://api.github.com/repos/PerlDancer/Dancer2/issues/915"},"comments":{"href":"https://api.github.com/repos/PerlDancer/Dancer2/issues/915/comments"},"review_comments":{"href":"https://api.github.com/repos/PerlDancer/Dancer2/pulls/915/comments"},"review_comment":{"href":"https://api.github.com/repos/PerlDancer/Dancer2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/PerlDancer/Dancer2/pulls/915/commits"},"statuses":{"href":"https://api.github.com/repos/PerlDancer/Dancer2/statuses/83a3b3a2883af97a7e166a6d7efd0282a3c8b72a"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":3,"deletions":1,"changed_files":1}}