{"action":"created","issue":{"url":"https://api.github.com/repos/jpmonette/feed/issues/23","labels_url":"https://api.github.com/repos/jpmonette/feed/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/jpmonette/feed/issues/23/comments","events_url":"https://api.github.com/repos/jpmonette/feed/issues/23/events","html_url":"https://github.com/jpmonette/feed/issues/23","id":40163710,"number":23,"title":"validateURL is not nice function","user":{"login":"YaroslavGaponov","id":1457386,"avatar_url":"https://avatars.githubusercontent.com/u/1457386?v=3","gravatar_id":"","url":"https://api.github.com/users/YaroslavGaponov","html_url":"https://github.com/YaroslavGaponov","followers_url":"https://api.github.com/users/YaroslavGaponov/followers","following_url":"https://api.github.com/users/YaroslavGaponov/following{/other_user}","gists_url":"https://api.github.com/users/YaroslavGaponov/gists{/gist_id}","starred_url":"https://api.github.com/users/YaroslavGaponov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YaroslavGaponov/subscriptions","organizations_url":"https://api.github.com/users/YaroslavGaponov/orgs","repos_url":"https://api.github.com/users/YaroslavGaponov/repos","events_url":"https://api.github.com/users/YaroslavGaponov/events{/privacy}","received_events_url":"https://api.github.com/users/YaroslavGaponov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2014-08-13T15:04:55Z","updated_at":"2015-05-30T22:28:11Z","closed_at":null,"body":"I mean it possible problems for local hostname like http://myworknotebook etc"},"comment":{"url":"https://api.github.com/repos/jpmonette/feed/issues/comments/107096154","html_url":"https://github.com/jpmonette/feed/issues/23#issuecomment-107096154","issue_url":"https://api.github.com/repos/jpmonette/feed/issues/23","id":107096154,"user":{"login":"alexlangberg","id":1616438,"avatar_url":"https://avatars.githubusercontent.com/u/1616438?v=3","gravatar_id":"","url":"https://api.github.com/users/alexlangberg","html_url":"https://github.com/alexlangberg","followers_url":"https://api.github.com/users/alexlangberg/followers","following_url":"https://api.github.com/users/alexlangberg/following{/other_user}","gists_url":"https://api.github.com/users/alexlangberg/gists{/gist_id}","starred_url":"https://api.github.com/users/alexlangberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexlangberg/subscriptions","organizations_url":"https://api.github.com/users/alexlangberg/orgs","repos_url":"https://api.github.com/users/alexlangberg/repos","events_url":"https://api.github.com/users/alexlangberg/events{/privacy}","received_events_url":"https://api.github.com/users/alexlangberg/received_events","type":"User","site_admin":false},"created_at":"2015-05-30T22:28:11Z","updated_at":"2015-05-30T22:28:11Z","body":"It also seems to fail, even on valid urls such as:\r\n\r\n    https://foo.com/bar/?baz=bax\r\n\r\nA suggestion could be to use the validator module:\r\n\r\nhttps://www.npmjs.com/package/validator\r\n\r\nOr pick up their version of url validation:\r\n\r\nhttps://github.com/chriso/validator.js/blob/master/validator.js#L200-L260"}}