src/eric7/WebBrowser/SafeBrowsing/SafeBrowsingUrl.py

branch
eric7
changeset 10692
9becf9ca115c
parent 10503
6a37b6ac3928
child 11090
f5f5f5803935
equal deleted inserted replaced
10691:d1a603a70f83 10692:9becf9ca115c
176 curPath = curPath + pathParts[i] + "/" 176 curPath = curPath + pathParts[i] + "/"
177 yield curPath 177 yield curPath
178 178
179 protocol, addressStr = urllib.parse.splittype(url) 179 protocol, addressStr = urllib.parse.splittype(url)
180 host, path = urllib.parse.splithost(addressStr) 180 host, path = urllib.parse.splithost(addressStr)
181 user, host = urllib.parse.splituser(host) 181 _user, host = urllib.parse.splituser(host)
182 host, port = urllib.parse.splitport(host) 182 host, port = urllib.parse.splitport(host)
183 host = host.strip("/") 183 host = host.strip("/")
184 seenPermutations = set() 184 seenPermutations = set()
185 for h in hostPermutations(host): 185 for h in hostPermutations(host):
186 for p in pathPermutations(path): 186 for p in pathPermutations(path):

eric ide

mercurial