dscape/nano — pull request #34 by perezd (2011-11-04 22:51:37+00:00)
Title: minor pathname bug

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.