Patch for an Issue #1011

This commit is contained in:
Miroslav Stampar 2014-12-11 00:11:52 +01:00
parent 10ed97b0df
commit 763f720675

View File

@ -1263,6 +1263,8 @@ def parseTargetUrl():
try:
_ = conf.hostname.encode("idna")
except LookupError:
_ = conf.hostname
except UnicodeError:
_ = None