{"issue":{"state":"closed","pull_request":{"diff_url":"https://github.com/dscape/nano/pull/34.diff","html_url":"https://github.com/dscape/nano/pull/34","patch_url":"https://github.com/dscape/nano/pull/34.patch"},"user":{"avatar_url":"https://secure.gravatar.com/avatar/19713cd13b43e2f16952fbca7b7b8298?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"19713cd13b43e2f16952fbca7b7b8298","url":"https://api.github.com/users/perezd","login":"perezd","id":20598},"milestone":null,"labels":[],"updated_at":"2011-11-05T12:00:47Z","assignee":null,"comments":1,"closed_at":"2011-11-05T12:00:29Z","url":"https://api.github.com/repos/dscape/nano/issues/34","body":"I've noticed that if you cfg.url =  http://user:pass@hostname.com without a slash, you can cause the URL parser to not return a pathname attribute, which causes a split on undefined error. This should make sure we only split, in the event of a pathname.","html_url":"https://github.com/dscape/nano/issues/34","number":34,"title":"minor pathname bug","id":2149338,"created_at":"2011-11-04T22:51:37Z"},"action":"created","comment":{"user":{"avatar_url":"https://secure.gravatar.com/avatar/a998795c23a775e72ee28643c482a1f4?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"a998795c23a775e72ee28643c482a1f4","url":"https://api.github.com/users/dscape","login":"dscape","id":8577},"updated_at":"2011-11-05T12:00:47Z","url":"https://api.github.com/repos/dscape/nano/issues/comments/2640126","body":"Thanks Derek, well spotted!","id":2640126,"created_at":"2011-11-05T12:00:47Z"}}