--- Lib/urllib.py.orig Sat Apr 11 03:18:35 1998 +++ Lib/urllib.py Wed May 6 23:26:57 1998 @@ -221,6 +221,7 @@ else: host, selector = url urltype, rest = splittype(selector) + url = rest user_passwd = None if string.lower(urltype) != 'http': realhost = None @@ -455,8 +456,8 @@ user, passwd = self.get_user_passwd(host, realm, i) if not (user or passwd): return None host = user + ':' + passwd + '@' + host - newurl = '//' + host + selector - return self.open_http(newurl) + newurl = 'http://' + host + selector + return self.open(newurl) def get_user_passwd(self, host, realm, clear_cache = 0): key = realm + '@' + string.lower(host)