check for and remove trailing /
This commit is contained in:
parent
93d683a791
commit
01bfb317d2
|
@ -215,6 +215,7 @@ function urlCandidates(input as string)
|
|||
host = url[2]
|
||||
port = url[3]
|
||||
path = url[4]
|
||||
if path.endswith("/", 1) then path = path.Left(len(path) - 1)
|
||||
protoCandidates = []
|
||||
supportedProtos = ["http:", "https:"] ' appending colons because the regex does
|
||||
if proto = "none:" ' the user did not declare a protocol
|
||||
|
|
Loading…
Reference in New Issue
Block a user