Don’t double-encode non-ASCII for mail client
commit1ee47d477ddb9c567eaf63154f78fad5d5826b78
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 14 Sep 2015 16:31:23 +0000 (14 09:31 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 14 Sep 2015 16:33:02 +0000 (14 09:33 -0700)
tree6c13fec13406455def84aaeacd31724356e96824
parent560022a5b670422c133381824a8b79dca72402a5
Don’t double-encode non-ASCII for mail client

* lisp/mail/mailclient.el (mailclient-encode-string-as-url):
Use RFC 6068’s list of unreserved characters.
(mailclient-send-it): When encoding the body as a URL,
first decode it as per Content-Type: and Content-Transfer-Encoding:,
as URLs must use percent-encoded UTF-8 (Bug#21471).

* doc/misc/url.texi (mailto): Update RFC number.
doc/misc/url.texi
lisp/mail/mailclient.el