]> git.eshelyaron.com Git - emacs.git/commit
Simplify url-encode-url and add a test
authorDmitry Gutov <dgutov@yandex.ru>
Wed, 10 May 2017 00:34:16 +0000 (03:34 +0300)
committerDmitry Gutov <dgutov@yandex.ru>
Wed, 10 May 2017 00:34:58 +0000 (03:34 +0300)
commit17e540aa428c5392f7a9b4c1f7495bac8a8fe5da
treed720eb99d0b8907f4567dd9c72151dcfa1331b64
parent58326f0f117b229b690023d3851a00d876a7aca6
Simplify url-encode-url and add a test

* lisp/url/url-util.el (url-encode-url): Simplify.
url-generic-parse-url copes with multibyte strings just fine
(https://debbugs.gnu.org/cgi/bugreport.cgi?bug=24117#185).

* test/lisp/url/url-parse-tests.el
(url-generic-parse-url/multibyte-host-and-path): New test.
lisp/url/url-util.el
test/lisp/url/url-parse-tests.el