diff --git a/lib/core/common.py b/lib/core/common.py index 970e8f1ea..7ee7a565e 100755 --- a/lib/core/common.py +++ b/lib/core/common.py @@ -1263,6 +1263,8 @@ def parseTargetUrl(): try: _ = conf.hostname.encode("idna") + except LookupError: + _ = conf.hostname except UnicodeError: _ = None