{"action":"created","issue":{"url":"https://api.github.com/repos/nodejs/node/issues/2967","labels_url":"https://api.github.com/repos/nodejs/node/issues/2967/labels{/name}","comments_url":"https://api.github.com/repos/nodejs/node/issues/2967/comments","events_url":"https://api.github.com/repos/nodejs/node/issues/2967/events","html_url":"https://github.com/nodejs/node/pull/2967","id":107378058,"number":2967,"title":"http{s}: fix connecting to localhost if URL is invalid","user":{"login":"thefourtheye","id":696611,"avatar_url":"https://avatars.githubusercontent.com/u/696611?v=3","gravatar_id":"","url":"https://api.github.com/users/thefourtheye","html_url":"https://github.com/thefourtheye","followers_url":"https://api.github.com/users/thefourtheye/followers","following_url":"https://api.github.com/users/thefourtheye/following{/other_user}","gists_url":"https://api.github.com/users/thefourtheye/gists{/gist_id}","starred_url":"https://api.github.com/users/thefourtheye/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thefourtheye/subscriptions","organizations_url":"https://api.github.com/users/thefourtheye/orgs","repos_url":"https://api.github.com/users/thefourtheye/repos","events_url":"https://api.github.com/users/thefourtheye/events{/privacy}","received_events_url":"https://api.github.com/users/thefourtheye/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/nodejs/node/labels/http","name":"http","color":"c7def8"},{"url":"https://api.github.com/repos/nodejs/node/labels/https","name":"https","color":"0052cc"},{"url":"https://api.github.com/repos/nodejs/node/labels/semver-major","name":"semver-major","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2015-09-20T07:40:27Z","updated_at":"2015-10-04T15:23:57Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/nodejs/node/pulls/2967","html_url":"https://github.com/nodejs/node/pull/2967","diff_url":"https://github.com/nodejs/node/pull/2967.diff","patch_url":"https://github.com/nodejs/node/pull/2967.patch"},"body":"If the URL passed to `http.request` is not properly parsable by `url.parse`, we\r\nfall back to use `localhost` and port 80. This creates confusing error messages\r\nlike in this question http://stackoverflow.com/q/32675907/1903116.\r\n\r\nThis patch throws an error message, if `url.parse` fails to parse the URL.\r\n\r\nPrevious Discussion: https://github.com/nodejs/node/pull/2966"},"comment":{"url":"https://api.github.com/repos/nodejs/node/issues/comments/145358278","html_url":"https://github.com/nodejs/node/pull/2967#issuecomment-145358278","issue_url":"https://api.github.com/repos/nodejs/node/issues/2967","id":145358278,"user":{"login":"ChALkeR","id":291301,"avatar_url":"https://avatars.githubusercontent.com/u/291301?v=3","gravatar_id":"","url":"https://api.github.com/users/ChALkeR","html_url":"https://github.com/ChALkeR","followers_url":"https://api.github.com/users/ChALkeR/followers","following_url":"https://api.github.com/users/ChALkeR/following{/other_user}","gists_url":"https://api.github.com/users/ChALkeR/gists{/gist_id}","starred_url":"https://api.github.com/users/ChALkeR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChALkeR/subscriptions","organizations_url":"https://api.github.com/users/ChALkeR/orgs","repos_url":"https://api.github.com/users/ChALkeR/repos","events_url":"https://api.github.com/users/ChALkeR/events{/privacy}","received_events_url":"https://api.github.com/users/ChALkeR/received_events","type":"User","site_admin":false},"created_at":"2015-10-04T15:23:57Z","updated_at":"2015-10-04T15:23:57Z","body":"Ah, also cc @rvagg for `semver-major`."}}