diff options
Diffstat (limited to 'lisp/net/puny.el')
-rw-r--r-- | lisp/net/puny.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/net/puny.el b/lisp/net/puny.el index 60a6c12e6c7..6987d253248 100644 --- a/lisp/net/puny.el +++ b/lisp/net/puny.el @@ -35,7 +35,7 @@ For instance, \"fśf.org\" => \"xn--ff-2sa.org\"." ;; The vast majority of domain names are not IDNA domain names, so ;; add a check first to avoid doing unnecessary work. - (if (string-match "\\'[[:ascii:]]+\\'" domain) + (if (string-match "\\`[[:ascii:]]+\\'" domain) domain (mapconcat 'puny-encode-string (split-string domain "[.]") "."))) |