Explain protocol inference regardless of how it's inferred.
This commit is contained in:
parent
7cfddb7080
commit
bb4a20e2d2
|
@ -83,8 +83,8 @@ def extract_from_page (page, verbosity, url, args):
|
|||
if "//" in domain:
|
||||
protocol = domain[:domain.index("//")+2]
|
||||
else:
|
||||
debug ("Assuming HTTPS for remote instance", verbosity, platform)
|
||||
protocol = "https://"
|
||||
debug ("Assuming " + protocol + " for remote instance", verbosity, platform)
|
||||
index = name.index('@')
|
||||
domain = protocol + name[index+1:]
|
||||
name = name[:index]
|
||||
|
|
Loading…
Reference in New Issue