]> git.eshelyaron.com Git - emacs.git/commit
IDNA-related fixes for the URL library
authorLars Ingebrigtsen <larsi@gnus.org>
Mon, 28 Dec 2015 23:11:06 +0000 (00:11 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Mon, 28 Dec 2015 23:11:06 +0000 (00:11 +0100)
commit8b61c22ea1a53167dae2e39eb318ceeb326cdff5
treec7cb2237f598b7aa478a97ac04af8f5ca9df18f7
parentfc3965ed9b19bdd167a466a06181c88ad59a57de
IDNA-related fixes for the URL library

* lisp/url/url-http.el (url-http-create-request): IDNA-encode
the Host: header.

* lisp/url/url-util.el (url-encode-url): Don't hex-encode
domain names, but leave them as UTF-8, so that they can be
IDNA-encoded later when contacting the host.
lisp/url/url-http.el
lisp/url/url-util.el