projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a53bac3
)
(url-http): Ensure that the referrer is all-ASCII
author
Lars Ingebrigtsen
<larsi@gnus.org>
Fri, 13 Apr 2018 14:41:13 +0000
(16:41 +0200)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Fri, 13 Apr 2018 14:41:13 +0000
(16:41 +0200)
* lisp/url/url-http.el (url-http): Ensure that the referrer is all-ASCII.
lisp/url/url-http.el
patch
|
blob
|
history
diff --git
a/lisp/url/url-http.el
b/lisp/url/url-http.el
index bb3e76997a85777f9bc83629b5bfb49ebc61e108..d45bb323b12d51fde9c7332e9d0ed9d07dc086a1 100644
(file)
--- 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