{"action":"created","issue":{"url":"https://api.github.com/repos/jeremykendall/php-domain-parser/issues/43","labels_url":"https://api.github.com/repos/jeremykendall/php-domain-parser/issues/43/labels{/name}","comments_url":"https://api.github.com/repos/jeremykendall/php-domain-parser/issues/43/comments","events_url":"https://api.github.com/repos/jeremykendall/php-domain-parser/issues/43/events","html_url":"https://github.com/jeremykendall/php-domain-parser/issues/43","id":57685812,"number":43,"title":"Urls with IP addresses ","user":{"login":"derdanu","id":2597760,"avatar_url":"https://avatars.githubusercontent.com/u/2597760?v=3","gravatar_id":"","url":"https://api.github.com/users/derdanu","html_url":"https://github.com/derdanu","followers_url":"https://api.github.com/users/derdanu/followers","following_url":"https://api.github.com/users/derdanu/following{/other_user}","gists_url":"https://api.github.com/users/derdanu/gists{/gist_id}","starred_url":"https://api.github.com/users/derdanu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/derdanu/subscriptions","organizations_url":"https://api.github.com/users/derdanu/orgs","repos_url":"https://api.github.com/users/derdanu/repos","events_url":"https://api.github.com/users/derdanu/events{/privacy}","received_events_url":"https://api.github.com/users/derdanu/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jeremykendall/php-domain-parser/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"jeremykendall","id":288613,"avatar_url":"https://avatars.githubusercontent.com/u/288613?v=3","gravatar_id":"","url":"https://api.github.com/users/jeremykendall","html_url":"https://github.com/jeremykendall","followers_url":"https://api.github.com/users/jeremykendall/followers","following_url":"https://api.github.com/users/jeremykendall/following{/other_user}","gists_url":"https://api.github.com/users/jeremykendall/gists{/gist_id}","starred_url":"https://api.github.com/users/jeremykendall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeremykendall/subscriptions","organizations_url":"https://api.github.com/users/jeremykendall/orgs","repos_url":"https://api.github.com/users/jeremykendall/repos","events_url":"https://api.github.com/users/jeremykendall/events{/privacy}","received_events_url":"https://api.github.com/users/jeremykendall/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-02-14T08:06:35Z","updated_at":"2015-02-16T12:48:33Z","closed_at":"2015-02-16T12:40:19Z","body":"Parsing an URL with a IP address is causing invalid results.\r\n\r\nsubdomain, registerableDomain and publicSuffic should be false.\r\n\r\nvago@hp:/tmp/test$ ./vendor/bin/parse http://67.196.2.34/whois-archive/latest.php?page=2479\r\nArray\r\n(\r\n    [scheme] => http\r\n    [user] => \r\n    [pass] => \r\n    [host] => 67.196.2.34\r\n    [subdomain] => 67.196\r\n    [registerableDomain] => 2.34\r\n    [publicSuffix] => 34\r\n    [port] => \r\n    [path] => /whois-archive/latest.php\r\n    [query] => page=2479\r\n    [fragment] => \r\n)\r\nHost: http://67.196.2.34/whois-archive/latest.php?page=2479\r\n'34' IS NOT a valid public suffix.\r\n"},"comment":{"url":"https://api.github.com/repos/jeremykendall/php-domain-parser/issues/comments/74503440","html_url":"https://github.com/jeremykendall/php-domain-parser/issues/43#issuecomment-74503440","issue_url":"https://api.github.com/repos/jeremykendall/php-domain-parser/issues/43","id":74503440,"user":{"login":"jeremykendall","id":288613,"avatar_url":"https://avatars.githubusercontent.com/u/288613?v=3","gravatar_id":"","url":"https://api.github.com/users/jeremykendall","html_url":"https://github.com/jeremykendall","followers_url":"https://api.github.com/users/jeremykendall/followers","following_url":"https://api.github.com/users/jeremykendall/following{/other_user}","gists_url":"https://api.github.com/users/jeremykendall/gists{/gist_id}","starred_url":"https://api.github.com/users/jeremykendall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeremykendall/subscriptions","organizations_url":"https://api.github.com/users/jeremykendall/orgs","repos_url":"https://api.github.com/users/jeremykendall/repos","events_url":"https://api.github.com/users/jeremykendall/events{/privacy}","received_events_url":"https://api.github.com/users/jeremykendall/received_events","type":"User","site_admin":false},"created_at":"2015-02-16T12:48:33Z","updated_at":"2015-02-16T12:48:33Z","body":"Nice catch! Just released 2.0.3 with this fix."}}