Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d7f0da5

Browse files
committed
Minor patch for an Issue #646
1 parent 97fe5e5 commit d7f0da5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/core/common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1192,7 +1192,7 @@ def parseTargetUrl():
11921192
conf.hostname = hostnamePort[0].strip()
11931193

11941194
conf.ipv6 = conf.hostname != conf.hostname.strip("[]")
1195-
conf.hostname = conf.hostname.strip("[]")
1195+
conf.hostname = conf.hostname.strip("[]").replace(CUSTOM_INJECTION_MARK_CHAR, "")
11961196

11971197
try:
11981198
_ = conf.hostname.encode("idna")

0 commit comments

Comments
 (0)