Index: Lib/urllib.py =================================================================== RCS file: /projects/cvsroot/python/dist/src/Lib/urllib.py,v retrieving revision 1.65 retrieving revision 1.66 diff -c -r1.65 -r1.66 *** urllib.py 1998/04/27 15:19:17 1.65 --- urllib.py 1998/05/05 13:58:13 1.66 *************** *** 223,228 **** --- 223,229 ---- else: host, selector = url urltype, rest = splittype(selector) + url = rest user_passwd = None if string.lower(urltype) != 'http': realhost = None *************** *** 459,466 **** 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) def get_user_passwd(self, host, realm, clear_cache = 0): key = realm + '@' + string.lower(host) --- 460,467 ---- user, passwd = self.get_user_passwd(host, realm, i) if not (user or passwd): return None host = user + ':' + passwd + '@' + host ! newurl = 'http://' + host + selector ! return self.open(newurl) def get_user_passwd(self, host, realm, clear_cache = 0): key = realm + '@' + string.lower(host)