diff options
| author | Eli Zaretskii | 2016-08-13 11:28:53 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2016-08-13 11:28:53 +0300 |
| commit | e9ff4857cb9dd993dee69bfca5ac89bc09ed58eb (patch) | |
| tree | eda0bd7b214be46a1c8d294605a9f6b42d4025d1 | |
| parent | 06952353b054743a5a57f7501d902d766b0b3dac (diff) | |
| download | emacs-e9ff4857cb9dd993dee69bfca5ac89bc09ed58eb.tar.gz emacs-e9ff4857cb9dd993dee69bfca5ac89bc09ed58eb.zip | |
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)
| -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.") | |||
| 315 | "Accept-encoding: " url-mime-encoding-string "\r\n")) | 315 | "Accept-encoding: " url-mime-encoding-string "\r\n")) |
| 316 | (if url-mime-charset-string | 316 | (if url-mime-charset-string |
| 317 | (concat | 317 | (concat |
| 318 | "Accept-charset: " url-mime-charset-string "\r\n")) | 318 | "Accept-charset: " |
| 319 | (url-http--encode-string url-mime-charset-string) | ||
| 320 | "\r\n")) | ||
| 319 | ;; Languages we understand | 321 | ;; Languages we understand |
| 320 | (if url-mime-language-string | 322 | (if url-mime-language-string |
| 321 | (concat | 323 | (concat |