GNU bug report logs - #14983
24.3.50; url-http-end-of-document-sentinel does not work with https

Previous Next

Package: emacs;

Reported by: Erik Hetzner <egh <at> e6h.org>

Date: Tue, 30 Jul 2013 02:31:01 UTC

Severity: normal

Tags: fixed

Found in version 24.3.50

Fixed in version 27.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 14983 <at> debbugs.gnu.org (full text, mbox):

From: Andreas Schwab <schwab <at> suse.de>
To: Erik Hetzner <egh <at> e6h.org>
Cc: 14983 <at> debbugs.gnu.org
Subject: Re: bug#14983: 24.3.50;
 url-http-end-of-document-sentinel does not work with https
Date: Tue, 30 Jul 2013 10:50:56 +0200
Erik Hetzner <egh <at> e6h.org> writes:

> diff --git a/lisp/url/url-http.el b/lisp/url/url-http.el
> index 7f21a38..4ee9377 100644
> --- a/lisp/url/url-http.el
> +++ b/lisp/url/url-http.el
> @@ -895,6 +895,8 @@ should be shown to the user."
>                 (let ((url-request-method url-http-method)
>                       (url-request-extra-headers url-http-extra-headers)
>                       (url-request-data url-http-data))
> +                 (if (string= "https" (url-type url-current-object))
> +                     (setq url-gateway-method 'tls))
>                   (url-http url-current-object url-callback-function
>                             url-callback-arguments (current-buffer)))))

I think this should use url-https instead for https connections.

Andreas.

-- 
Andreas Schwab, SUSE Labs, schwab <at> suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."




This bug report was last modified 5 years and 326 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.