• Lars Ingebrigtsen's avatar
    Make Unicode domain names work again in URL after recent changes · 4a630233
    Lars Ingebrigtsen authored
    * lisp/net/gnutls.el (open-gnutls-stream): IDNA-encode hostnames
    before passing them on to gnutls for verification.
    
    * lisp/net/network-stream.el (network-stream-open-starttls): Ditto.
    
    * lisp/url/url-http.el (url-http--get-referer): Be IDNA-aware.
    (url-http-create-request): Don't de-Unicodify host names, because
    they may be IDNA names (that are later encoded).
    
    * lisp/url/url-util.el (url-domain): Be IDNA-aware when doing
    domain name computations.
    4a630233
gnutls.el 13.2 KB