diff --git a/djangocms_link_manager/link_manager.py b/djangocms_link_manager/link_manager.py index 7fb0bb5..c5d3758 100644 --- a/djangocms_link_manager/link_manager.py +++ b/djangocms_link_manager/link_manager.py @@ -66,7 +66,7 @@ def validate_default(self, parts, verify_exists=False): else: if verify_exists: try: - response = urlopen(HeadRequest(url)) + response = urlopen(HeadRequest(url.encode("UTF-8"))) # NOTE: urllib should have already resolved any 301/302s return 200 <= response.code < 400 # pragma: no cover except (HTTPError, URLError):