summaryrefslogtreecommitdiff
path: root/lisp/url/url-util.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/url/url-util.el')
-rw-r--r--lisp/url/url-util.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/url/url-util.el b/lisp/url/url-util.el
index 77e015068a3..b2064484809 100644
--- a/lisp/url/url-util.el
+++ b/lisp/url/url-util.el
@@ -645,7 +645,7 @@ not contain a registered name."
;;
;; Domain delegations change rarely enough that we won't bother with
;; cache invalidation, I think.
- (let* ((host-parts (split-string (url-host url) "\\."))
+ (let* ((host-parts (split-string (puny-encode-domain (url-host url)) "\\."))
(result (gethash host-parts url--domain-cache 'not-found)))
(when (eq result 'not-found)
(setq result