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)
This commit is contained in:
parent
06952353b0
commit
e9ff4857cb
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue