urlparse is a bit retarded