From 1f137133ed6683f4ef9e37ac6a32d4545f59506d Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Tue, 24 Sep 2019 09:57:57 +0200 Subject: [PATCH] Fix old problem with HTTPS HTTP 0.9 sentinels * lisp/url/url-http.el (url-http-end-of-document-sentinel): Pass on the tls parameter if we have HTTPS (bug#14983). --- lisp/url/url-http.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lisp/url/url-http.el b/lisp/url/url-http.el index bfc106c2a5c..a6963cef701 100644 --- a/lisp/url/url-http.el +++ b/lisp/url/url-http.el @@ -1024,7 +1024,9 @@ should be shown to the user." (setq url-using-proxy (url-generic-parse-url url-using-proxy))) (url-http url-current-object url-callback-function - url-callback-arguments (current-buffer))))) + url-callback-arguments (current-buffer) + (and (string= "https" (url-type url-current-object)) + 'tls))))) ((url-http-parse-headers) (url-http-activate-callback)))))) -- 2.39.2