{"action":"created","issue":{"url":"https://api.github.com/repos/nodejs/node/issues/8813","repository_url":"https://api.github.com/repos/nodejs/node","labels_url":"https://api.github.com/repos/nodejs/node/issues/8813/labels{/name}","comments_url":"https://api.github.com/repos/nodejs/node/issues/8813/comments","events_url":"https://api.github.com/repos/nodejs/node/issues/8813/events","html_url":"https://github.com/nodejs/node/issues/8813","id":179681961,"number":8813,"title":"url.toString() is '[object Object]' ?!!","user":{"login":"gritzko","id":81581,"avatar_url":"https://avatars.githubusercontent.com/u/81581?v=3","gravatar_id":"","url":"https://api.github.com/users/gritzko","html_url":"https://github.com/gritzko","followers_url":"https://api.github.com/users/gritzko/followers","following_url":"https://api.github.com/users/gritzko/following{/other_user}","gists_url":"https://api.github.com/users/gritzko/gists{/gist_id}","starred_url":"https://api.github.com/users/gritzko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gritzko/subscriptions","organizations_url":"https://api.github.com/users/gritzko/orgs","repos_url":"https://api.github.com/users/gritzko/repos","events_url":"https://api.github.com/users/gritzko/events{/privacy}","received_events_url":"https://api.github.com/users/gritzko/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/nodejs/node/labels/url","name":"url","color":"bfe5bf"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":14,"created_at":"2016-09-28T05:18:00Z","updated_at":"2016-09-28T14:18:29Z","closed_at":null,"body":"```JavaScript\r\n$ node\r\n> url = require('url')\r\n{ parse: [Function: urlParse],\r\n  resolve: [Function: urlResolve],\r\n  resolveObject: [Function: urlResolveObject],\r\n  format: [Function: urlFormat],\r\n  Url: [Function: Url] }\r\n> var a = url.parse('http://xxx');\r\nundefined\r\n> a\r\nUrl {\r\n  protocol: 'http:',\r\n  slashes: true,\r\n  auth: null,\r\n  host: 'xxx',\r\n  port: null,\r\n  hostname: 'xxx',\r\n  hash: null,\r\n  search: null,\r\n  query: null,\r\n  pathname: '/',\r\n  path: '/',\r\n  href: 'http://xxx/' }\r\n> a.toString()\r\n'[object Object]'\r\n```\r\n\r\nOutrageous!\r\nWhy isn't url.toString() defined the straight way?\r\n\r\n```bash\r\n$ node -v\r\nv6.3.1\r\n```"},"comment":{"url":"https://api.github.com/repos/nodejs/node/issues/comments/250179884","html_url":"https://github.com/nodejs/node/issues/8813#issuecomment-250179884","issue_url":"https://api.github.com/repos/nodejs/node/issues/8813","id":250179884,"user":{"login":"Fishrock123","id":1093990,"avatar_url":"https://avatars.githubusercontent.com/u/1093990?v=3","gravatar_id":"","url":"https://api.github.com/users/Fishrock123","html_url":"https://github.com/Fishrock123","followers_url":"https://api.github.com/users/Fishrock123/followers","following_url":"https://api.github.com/users/Fishrock123/following{/other_user}","gists_url":"https://api.github.com/users/Fishrock123/gists{/gist_id}","starred_url":"https://api.github.com/users/Fishrock123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fishrock123/subscriptions","organizations_url":"https://api.github.com/users/Fishrock123/orgs","repos_url":"https://api.github.com/users/Fishrock123/repos","events_url":"https://api.github.com/users/Fishrock123/events{/privacy}","received_events_url":"https://api.github.com/users/Fishrock123/received_events","type":"User","site_admin":false},"created_at":"2016-09-28T14:18:28Z","updated_at":"2016-09-28T14:18:28Z","body":"We could maybe do `[object Url <href>]`? I think that discourages raw passing but perhaps still is more informative.\r\n\r\nWhat does the WhatWG URL object do here?"}}
{"actor":{"display_login":"Fishrock123"}}