[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 560553b 3/3: (url-http): Ensure that the referrer i
From: |
Lars Ingebrigtsen |
Subject: |
[Emacs-diffs] master 560553b 3/3: (url-http): Ensure that the referrer is all-ASCII |
Date: |
Fri, 13 Apr 2018 10:46:39 -0400 (EDT) |
branch: master
commit 560553b1fa2247b7e2b28dd2fe7f404040dacac6
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>
(url-http): Ensure that the referrer is all-ASCII
* lisp/url/url-http.el (url-http): Ensure that the referrer is all-ASCII.
---
lisp/url/url-http.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/url/url-http.el b/lisp/url/url-http.el
index bb3e769..d45bb32 100644
--- a/lisp/url/url-http.el
+++ b/lisp/url/url-http.el
@@ -1291,7 +1291,7 @@ The return value of this function is the retrieval
buffer."
(buffer (or retry-buffer
(generate-new-buffer
(format " *http %s:%d*" (url-host url) (url-port url)))))
- (referer (url-http--get-referer url)))
+ (referer (url-http--encode-string (url-http--get-referer url))))
(if (not connection)
;; Failed to open the connection for some reason
(progn