Commit 0bbdeed1 authored by Toke Høiland-Jørgensen's avatar Toke Høiland-Jørgensen Committed by Eli Zaretskii

Fix 'url-http-create-request' when cookies are used

* lisp/url/url-http.el (url-http-create-request): Make sure the
cookie headers are a unibyte string.  For the details, see

Copyright-paperwork-exempt: yes
parent 0045998a
......@@ -332,9 +332,10 @@ request.")
;; Cookies
(when (url-use-cookies url-http-target-url)
host real-fname
(equal "https" (url-type url-http-target-url))))
host real-fname
(equal "https" (url-type url-http-target-url)))))
;; If-modified-since
(if (and (not no-cache)
(member url-http-method '("GET" nil)))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment