diff options
author | Eli Zaretskii <eliz@gnu.org> | 2016-08-13 11:28:53 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2016-08-13 11:28:53 +0300 |
commit | e9ff4857cb9dd993dee69bfca5ac89bc09ed58eb (patch) | |
tree | eda0bd7b214be46a1c8d294605a9f6b42d4025d1 /lisp/url/url-http.el | |
parent | 06952353b054743a5a57f7501d902d766b0b3dac (diff) | |
download | emacs-e9ff4857cb9dd993dee69bfca5ac89bc09ed58eb.tar.gz |
Further fix for 'url-http-create-request' and multibyte strings
* lisp/url/url-http.el (url-http-create-request): Run
url-mime-charset-string through url-http--encode-string.
(Bug#24117)
Diffstat (limited to 'lisp/url/url-http.el')
-rw-r--r-- | lisp/url/url-http.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/url/url-http.el b/lisp/url/url-http.el index 860e6529365..bbe5268e4df 100644 --- a/lisp/url/url-http.el +++ b/lisp/url/url-http.el @@ -315,7 +315,9 @@ request.") "Accept-encoding: " url-mime-encoding-string "\r\n")) (if url-mime-charset-string (concat - "Accept-charset: " url-mime-charset-string "\r\n")) + "Accept-charset: " + (url-http--encode-string url-mime-charset-string) + "\r\n")) ;; Languages we understand (if url-mime-language-string (concat |