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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user