diff options
-rw-r--r-- | lisp/url/url-http.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/url/url-http.el b/lisp/url/url-http.el index bb3e76997a8..d45bb323b12 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 |