From unknown Fri Aug 15 20:27:27 2025 X-Loop: help-debbugs@gnu.org Subject: bug#11788: url-http does not properly handle https over proxy Resent-From: Andreas Schwab Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 26 Jun 2012 10:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 11788 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 11788@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.134070625128017 (code B ref -1); Tue, 26 Jun 2012 10:25:02 +0000 Received: (at submit) by debbugs.gnu.org; 26 Jun 2012 10:24:11 +0000 Received: from localhost ([127.0.0.1]:58252 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SjSwM-0007Hq-RJ for submit@debbugs.gnu.org; Tue, 26 Jun 2012 06:24:11 -0400 Received: from eggs.gnu.org ([208.118.235.92]:58340) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SjSwL-0007Hj-DS for submit@debbugs.gnu.org; Tue, 26 Jun 2012 06:24:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SjSsN-0004sh-0f for submit@debbugs.gnu.org; Tue, 26 Jun 2012 06:20:08 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:41364) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SjSsM-0004ra-Tx for submit@debbugs.gnu.org; Tue, 26 Jun 2012 06:20:02 -0400 Received: from eggs.gnu.org ([208.118.235.92]:58961) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SjSkD-0004JE-2D for bug-gnu-emacs@gnu.org; Tue, 26 Jun 2012 06:11:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SjSk6-0002y3-KR for bug-gnu-emacs@gnu.org; Tue, 26 Jun 2012 06:11:36 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:51129) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SjSk6-0002xr-EQ for bug-gnu-emacs@gnu.org; Tue, 26 Jun 2012 06:11:30 -0400 Received: from frontend4.mail.m-online.net (unknown [192.168.8.183]) by mail-out.m-online.net (Postfix) with ESMTP id 3WM32342m1z4KKPw for ; Tue, 26 Jun 2012 12:11:38 +0200 (CEST) X-Auth-Info: eiNH/X6F0KA6xtYzXh+gSd09RBg2GoimZFaDhSeG1eU= Received: from igel.home (ppp-88-217-113-177.dynamic.mnet-online.de [88.217.113.177]) by mail.mnet-online.de (Postfix) with ESMTPA id 3WM31r0SJCzbbg6 for ; Tue, 26 Jun 2012 12:11:28 +0200 (CEST) Received: by igel.home (Postfix, from userid 501) id 7E4C7CA2A3; Tue, 26 Jun 2012 12:11:27 +0200 (CEST) From: Andreas Schwab X-Yow: I'm MENTALLY here.. but PHYSICALLY I'm purchasing NAUGAHYDE furniture in the' SUBURBS of PHOENIX!! Date: Tue, 26 Jun 2012 12:11:27 +0200 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.17 X-Spam-Score: -6.9 (------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) When url-http is retrieving a https url over a http proxy it should use the CONNECT method instead of trying to connect the proxy over TLS. The TLS handshake needs to start only after the proxy has forwarded the connection to the remote host, and the request then needs to be continued as if connected directly. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." From unknown Fri Aug 15 20:27:27 2025 X-Loop: help-debbugs@gnu.org Subject: bug#11788: [babc40c4] still fails to implement HTTPS over HTTP proxy properly References: In-Reply-To: Resent-From: Ivan Shmakov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 03 Dec 2013 08:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11788 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 11788@debbugs.gnu.org Received: via spool by 11788-submit@debbugs.gnu.org id=B11788.138605948917586 (code B ref 11788); Tue, 03 Dec 2013 08:32:02 +0000 Received: (at 11788) by debbugs.gnu.org; 3 Dec 2013 08:31:29 +0000 Received: from localhost ([127.0.0.1]:55478 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VnlOC-0004Za-LV for submit@debbugs.gnu.org; Tue, 03 Dec 2013 03:31:28 -0500 Received: from fely.am-1.org ([78.47.74.50]:54683) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VnlOB-0004ZM-9L for 11788@debbugs.gnu.org; Tue, 03 Dec 2013 03:31:27 -0500 Received: from [2a02:2560:6d4:26ca::1:1d] (helo=violet.siamics.net) by fely.am-1.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1VnlO9-0006LR-5F for 11788@debbugs.gnu.org; Tue, 03 Dec 2013 08:31:25 +0000 Received: from localhost ([::1] helo=violet.siamics.net) by violet.siamics.net with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1VnlO1-0005nr-Rb for 11788@debbugs.gnu.org; Tue, 03 Dec 2013 15:31:18 +0700 From: Ivan Shmakov Date: Tue, 03 Dec 2013 08:31:14 +0000 Message-ID: <87siua8hf1.fsf@violet.siamics.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) Example: (setq url-proxy-services '(("https" . "squid.example.net:3128") ("http" . "squid.example.net:3128"))) (url-retrieve "http://example.com/" (lambda (&rest args) (message "%S" args))) ; =E2=86=92 # ; the buffer holds the expected HTTP response (url-retrieve "https://duckduckgo.com/" (lambda (&rest args) (message "%S" args))) ; =E2=86=92 # ; the buffer holds an error from the proxy A part of the problem is in url-proxy: 68 (defun url-proxy (url callback &optional cbargs) 69 ;; Retrieve URL from a proxy. 70 ;; Expects `url-using-proxy' to be bound to the specific proxy to = use." 71 (setq url-using-proxy (url-generic-parse-url url-using-proxy)) 72=09 73 (cond 74 ((string=3D (url-type url-using-proxy) "http") 75 (url-http url callback cbargs)) Here, neither url-http (which issues the request in plain) nor url-https (which tries to establish a TLS connection right away) could be appropriate when requesting an HTTPS URI. Instead, a plain connection should be established, followed by a CONNECT request to the target HOSTNAME:PORT pair, and only thereafter TLS is to be started. 76 (t 77 (error "Don't know how to use proxy `%s'" url-using-proxy)))) --=20 FSF associate member #7257 From unknown Fri Aug 15 20:27:27 2025 X-Loop: help-debbugs@gnu.org Subject: bug#11788: [babc40c4] still fails to implement HTTPS over HTTP proxy properly Resent-From: lo2net Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 24 Jul 2015 16:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11788 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: schwab@linux-m68k.org, ivan@siamics.net, 11788@debbugs.gnu.org X-Debbugs-Original-To: Andreas Schwab , Ivan Shmakov , 11788@debbugs.gnu.org, bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.14377555773903 (code B ref -1); Fri, 24 Jul 2015 16:33:01 +0000 Received: (at submit) by debbugs.gnu.org; 24 Jul 2015 16:32:57 +0000 Received: from localhost ([127.0.0.1]:58149 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZIfu4-00010s-CK for submit@debbugs.gnu.org; Fri, 24 Jul 2015 12:32:57 -0400 Received: from eggs.gnu.org ([208.118.235.92]:59252) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZIfu2-00010i-BT for submit@debbugs.gnu.org; Fri, 24 Jul 2015 12:32:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZIfu0-0005Ci-FT for submit@debbugs.gnu.org; Fri, 24 Jul 2015 12:32:54 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: * X-Spam-Status: No, score=1.1 required=5.0 tests=BAYES_50, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:37959) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZIfu0-0005Cb-DA for submit@debbugs.gnu.org; Fri, 24 Jul 2015 12:32:52 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44507) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZIftv-0005NC-La for bug-gnu-emacs@gnu.org; Fri, 24 Jul 2015 12:32:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZIfts-0005Ay-DT for bug-gnu-emacs@gnu.org; Fri, 24 Jul 2015 12:32:47 -0400 Received: from mail-qg0-x22c.google.com ([2607:f8b0:400d:c04::22c]:34880) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZIfts-0005AZ-7o for bug-gnu-emacs@gnu.org; Fri, 24 Jul 2015 12:32:44 -0400 Received: by qgii95 with SMTP id i95so13058912qgi.2 for ; Fri, 24 Jul 2015 09:32:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:references:date:in-reply-to:message-id:user-agent :mime-version:content-type; bh=cGdNuAorJFJiWGV7I5fs4uUkUrq5c9cDNvgzZ7EH6WY=; b=Y5BSTFFPrJYphAPbr7A0M75R4Uk2tBu/NSG8BgXTZNT8m5lBUhmwRpl9/75iuPJ6hY sGZQ++5yi0Vc2DLAaeIAuI2AOmCiXdnguXIfUH9yu++OYn1OM9HLAuC2C1xEgPvLSnb0 Fx6ynTnKYyGZfRTopLMk+nuOa5Z1U2FEdfwR2VgkYAKZ0EoobOl4dfSQsw09ZOt27vPN GRfLdrbhdKCn5AqwUw/ApHjhs/CfhKE/7j6StLdHjn6Bbqnc48qdTqWlY9Cu8FWMj67U 84eUsfDjLP87f/UXxY+J2mwiO7w+iA6GjAuuGFhT5PkR0Ff51C/12VQgYdOAXrqj89An wuZw== X-Received: by 10.140.31.194 with SMTP id f60mr21624314qgf.23.1437755563140; Fri, 24 Jul 2015 09:32:43 -0700 (PDT) Received: from StormPC.yourcompany.com (ec2-54-159-240-135.compute-1.amazonaws.com. [54.159.240.135]) by smtp.gmail.com with ESMTPSA id 75sm4286581qkr.47.2015.07.24.09.32.34 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 24 Jul 2015 09:32:42 -0700 (PDT) From: lo2net References: <87siua8hf1.fsf@violet.siamics.net> Date: Sat, 25 Jul 2015 00:32:28 +0800 In-Reply-To: <87siua8hf1.fsf@violet.siamics.net> (Ivan Shmakov's message of "Tue, 03 Dec 2013 08:31:14 +0000") Message-ID: <87io998qjn.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -3.8 (---) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.8 (---) --=-=-= Content-Type: text/plain Hi all, I've wrote a patch to fix this, it works fine for me with gnutls support enabled, so I thought it may be useful. PS: If without gnutls support, it needs to be modified to use external program with https via proxy support(e.g. openssl s_client post-May 2015 release version: http://rt.openssl.org/Ticket/Display.html?id=2651) other than just throw an error. But I think very few people will need this since this bug report stayed with outstanding status for such a long time. Here is the patch: --=-=-= Content-Type: text/x-diff Content-Disposition: attachment; filename=0001-fix-url-https-over-proxy-implement.patch >From 50ad7c62ac8e34a43b8201702153fd6548d09a10 Mon Sep 17 00:00:00 2001 From: lo2net Date: Fri, 24 Jul 2015 23:19:26 +0800 Subject: [PATCH] fix url https over proxy implement --- lisp/url/url-http.el | 106 ++++++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 92 insertions(+), 14 deletions(-) diff --git a/lisp/url/url-http.el b/lisp/url/url-http.el index 6a7d8e2..2bcd0cf 100644 --- a/lisp/url/url-http.el +++ b/lisp/url/url-http.el @@ -207,7 +207,7 @@ request.") ;; `url-open-stream' needs a buffer in which to do things ;; like authentication. But we use another buffer afterwards. (unwind-protect - (let ((proc (url-open-stream host buf host port gateway-method))) + (let ((proc (url-open-stream host buf (if url-using-proxy (url-host url-using-proxy) host) (if url-using-proxy (url-port url-using-proxy) port) gateway-method))) ;; url-open-stream might return nil. (when (processp proc) ;; Drop the temp buffer link before killing the buffer. @@ -912,6 +912,7 @@ should be shown to the user." ;; These unfortunately cannot be macros... please ignore them! (defun url-http-idle-sentinel (proc why) "Remove (now defunct) process PROC from the list of open connections." + (url-http-debug "url-http-idle-sentinel(%s %s)" proc why) (maphash (lambda (key val) (if (memq proc val) (puthash key (delq proc val) url-http-open-connections))) @@ -922,7 +923,7 @@ should be shown to the user." ;; and (ii) closed connection due to reusing a HTTP connection which ;; we believed was still alive, but which the server closed on us. ;; We handle case (ii) by calling `url-http' again. - (url-http-debug "url-http-end-of-document-sentinel in buffer (%s)" + (url-http-debug "url-http-end-of-document-sentinel(%s %s) in buffer (%s)" proc why (process-buffer proc)) (url-http-idle-sentinel proc why) (when (buffer-name (process-buffer proc)) @@ -936,7 +937,11 @@ should be shown to the user." (erase-buffer) (let ((url-request-method url-http-method) (url-request-extra-headers url-http-extra-headers) - (url-request-data url-http-data)) + (url-request-data url-http-data) + (url-using-proxy (url-find-proxy-for-url url-current-object (url-host url-current-object))) + ) + (when url-using-proxy + (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-http-parse-headers) @@ -1217,16 +1222,16 @@ overriding the value of `url-gateway-method'." (nsm-noninteractive (or url-request-noninteractive (and (boundp 'url-http-noninteractive) url-http-noninteractive))) - (connection (url-http-find-free-connection host port gateway-method)) + (connection (url-http-find-free-connection (url-host url) (url-port url) gateway-method)) (buffer (or retry-buffer (generate-new-buffer - (format " *http %s:%d*" host port))))) + (format " *http %s:%d*" (url-host url) (url-port url)))))) (if (not connection) ;; Failed to open the connection for some reason (progn (kill-buffer buffer) (setq buffer nil) - (error "Could not create connection to %s:%d" host port)) + (error "Could not create connection to %s:%d" (url-host url) (url-port url))) (with-current-buffer buffer (mm-disable-multibyte) (setq url-current-object url @@ -1274,22 +1279,91 @@ overriding the value of `url-gateway-method'." (set-process-buffer connection buffer) (set-process-filter connection 'url-http-generic-filter) + + (url-http-debug "url-http() status: %s" (process-status connection)) + (pcase (process-status connection) (`connect ;; Asynchronous connection (set-process-sentinel connection 'url-http-async-sentinel)) (`failed ;; Asynchronous connection failed - (error "Could not create connection to %s:%d" host port)) + (error "Could not create connection to %s:%d" (url-host url) (url-port url))) (_ + (if (and url-http-proxy (string= "https" (url-type url-current-object))) + (url-https-proxy-connect connection) + (set-process-sentinel connection 'url-http-end-of-document-sentinel) - (process-send-string connection (url-http-create-request)))))) - buffer)) + (process-send-string connection (url-http-create-request)) + ) + ) + ) + )) + + buffer) + ) +(defun url-https-proxy-connect (connection) + ;; https proxy + (setq url-http-after-change-function 'url-https-proxy-after-change-function) + (process-send-string connection (format (concat "CONNECT %s:%d HTTP/1.1\r\n" + "Host: %s\r\n" + "\r\n") + (url-host url-current-object) (or (url-port url-current-object) 443) (url-host url-current-object))) + ) +(defun url-https-proxy-after-change-function (st nd length) + (let* ((process-buffer (current-buffer)) + (proc (get-buffer-process process-buffer)) + ) + (goto-char (point-min)) + (when (re-search-forward "^\r?\n" nil t) + (backward-char 1) + ;; Saw the end of the headers + (setq url-http-end-of-headers (set-marker (make-marker) (point))) + (url-http-parse-response) + (cond + ((null url-http-response-status) + ;; We got back a headerless malformed response from the + ;; server. + (url-http-activate-callback) + (error "Malformed response from proxy, fail!")) + ((= url-http-response-status 200) + (if (gnutls-available-p) + (condition-case e + (let ((tls-connection (gnutls-negotiate + :process proc + :hostname (url-host url-current-object) + :verify-error nil))) + (with-current-buffer process-buffer + (erase-buffer)) + (set-process-buffer tls-connection process-buffer) + (setq url-http-after-change-function 'url-http-wait-for-headers-change-function) + (set-process-filter tls-connection 'url-http-generic-filter) + (process-send-string tls-connection (url-http-create-request)) + ) + (gnutls-error + (url-http-activate-callback) + (error "gnutls-error: %s" e)) + (error + (url-http-activate-callback) + (error "error: %s" e)) + ) + (error "error: gnutls support needed!") + ) + ) + (t + ;; (setq url-http-connection-opened nil) + (url-http-activate-callback) + (error "error response: %d\n" url-http-response-status)) + ) + ) + ) + ) (defun url-http-async-sentinel (proc why) ;; We are performing an asynchronous connection, and a status change ;; has occurred. + (url-http-debug "url-http-async-sentinel(%s %s)" proc why) (when (buffer-name (process-buffer proc)) (with-current-buffer (process-buffer proc) (cond @@ -1298,11 +1372,15 @@ overriding the value of `url-gateway-method'." (url-http-end-of-document-sentinel proc why)) ((string= (substring why 0 4) "open") (setq url-http-connection-opened t) - (condition-case error - (process-send-string proc (url-http-create-request)) - (file-error - (setq url-http-connection-opened nil) - (message "HTTP error: %s" error)))) + (if (and url-http-proxy (string= "https" (url-type url-current-object))) + (url-https-proxy-connect proc) + (condition-case error + (process-send-string proc (url-http-create-request)) + (file-error + (setq url-http-connection-opened nil) + (message "HTTP error: %s" error))) + ) + ) (t (setf (car url-callback-arguments) (nconc (list :error (list 'error 'connection-failed why -- 2.4.6 --=-=-= Content-Type: text/plain If anything goes wrong, please let me know, thanks! --=-=-=-- From unknown Fri Aug 15 20:27:27 2025 X-Loop: help-debbugs@gnu.org Subject: bug#11788: [babc40c4] still fails to implement HTTPS over HTTP proxy properly Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 25 Dec 2015 21:32:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11788 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: lo2net Cc: schwab@linux-m68k.org, 11788@debbugs.gnu.org, ivan@siamics.net Received: via spool by 11788-submit@debbugs.gnu.org id=B11788.14510791179015 (code B ref 11788); Fri, 25 Dec 2015 21:32:01 +0000 Received: (at 11788) by debbugs.gnu.org; 25 Dec 2015 21:31:57 +0000 Received: from localhost ([127.0.0.1]:35588 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aCZxt-0002LL-Lr for submit@debbugs.gnu.org; Fri, 25 Dec 2015 16:31:57 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:53275) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aCZxq-0002LB-Gu for 11788@debbugs.gnu.org; Fri, 25 Dec 2015 16:31:56 -0500 Received: from 2.150.58.24.tmi.telenormobil.no ([2.150.58.24] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1aCZxP-0004ki-4v; Fri, 25 Dec 2015 22:31:27 +0100 From: Lars Ingebrigtsen References: <87siua8hf1.fsf@violet.siamics.net> <87io998qjn.fsf@gmail.com> Date: Fri, 25 Dec 2015 22:31:26 +0100 In-Reply-To: <87io998qjn.fsf@gmail.com> (lo2net's message of "Sat, 25 Jul 2015 00:32:28 +0800") Message-ID: <87lh8iz041.fsf@gnus.org> User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-MailScanner-ID: 1aCZxP-0004ki-4v X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1451683889.29316@EH51w/CSp/cf6cWI8uDeow X-Spam-Status: No X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) lo2net writes: > PS: If without gnutls support, it needs to be modified to use external > program with https via proxy support(e.g. openssl s_client post-May 2015 release version: > http://rt.openssl.org/Ticket/Display.html?id=2651) other than just throw an > error. But I think very few people will need this since this bug report > stayed with outstanding status for such a long time. > > Here is the patch: I don't use proxies, so I can't test this, but looking at the code quickly, it looks good. (But see comments below on style.) Do you have FSF copyright assignments for Emacs on file? > - (let ((proc (url-open-stream host buf host port gateway-method))) > + (let ((proc (url-open-stream host buf (if url-using-proxy (url-host url-using-proxy) host) (if url-using-proxy (url-port url-using-proxy) port) gateway-method))) Lines should preferably not be longer than 80 characters. > + (url-request-data url-http-data) > + (url-using-proxy (url-find-proxy-for-url url-current-object (url-host url-current-object))) > + ) Don't put closing parentheses on separate lines -- they should be on the previous line. > - buffer)) > + (process-send-string connection (url-http-create-request)) > + ) > + ) > + ) > + )) And ditto. :-) -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 25 16:32:12 2015 Received: (at control) by debbugs.gnu.org; 25 Dec 2015 21:32:12 +0000 Received: from localhost ([127.0.0.1]:35592 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aCZy7-0002MB-TU for submit@debbugs.gnu.org; Fri, 25 Dec 2015 16:32:12 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:53287) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aCZy5-0002M1-Hr for control@debbugs.gnu.org; Fri, 25 Dec 2015 16:32:09 -0500 Received: from 2.150.58.24.tmi.telenormobil.no ([2.150.58.24] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1aCZxl-0004ku-12 for control@debbugs.gnu.org; Fri, 25 Dec 2015 22:31:49 +0100 Date: Fri, 25 Dec 2015 22:31:48 +0100 Message-Id: <87k2o2z03f.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #11788 X-MailScanner-ID: 1aCZxl-0004ku-12 X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1451683909.30615@GEhCA0ueU8mxp4obukp0ag X-Spam-Status: No X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) tags 11788 patch From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 25 16:54:00 2015 Received: (at control) by debbugs.gnu.org; 25 Dec 2015 21:54:00 +0000 Received: from localhost ([127.0.0.1]:35634 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aCaJE-0004Yg-8a for submit@debbugs.gnu.org; Fri, 25 Dec 2015 16:54:00 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:38818) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aCaJD-0004Ya-JX for control@debbugs.gnu.org; Fri, 25 Dec 2015 16:53:59 -0500 Received: from 2.150.58.24.tmi.telenormobil.no ([2.150.58.24] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1aCaIs-00050i-Rt for control@debbugs.gnu.org; Fri, 25 Dec 2015 22:53:39 +0100 Date: Fri, 25 Dec 2015 22:53:38 +0100 Message-Id: <87ziwyxkil.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #12636 X-MailScanner-ID: 1aCaIs-00050i-Rt X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1451685219.19616@tnrElX2Wpa3o8fAIwzt4mQ X-Spam-Status: No X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) merge 12636 11788 From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 25 16:55:36 2015 Received: (at control) by debbugs.gnu.org; 25 Dec 2015 21:55:36 +0000 Received: from localhost ([127.0.0.1]:35639 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aCaKm-0004bb-Gj for submit@debbugs.gnu.org; Fri, 25 Dec 2015 16:55:36 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:42537) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aCaKl-0004bS-EV for control@debbugs.gnu.org; Fri, 25 Dec 2015 16:55:35 -0500 Received: from 2.150.58.24.tmi.telenormobil.no ([2.150.58.24] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1aCaKQ-00051f-NJ for control@debbugs.gnu.org; Fri, 25 Dec 2015 22:55:14 +0100 Date: Fri, 25 Dec 2015 22:55:14 +0100 Message-Id: <87y4cixkfx.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #12636 X-MailScanner-ID: 1aCaKQ-00051f-NJ X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1451685314.94696@6FuNNySqT8Na7dTB65gGwQ X-Spam-Status: No X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) forcemerge 12636 11788 From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 25 17:20:39 2015 Received: (at control) by debbugs.gnu.org; 25 Dec 2015 22:20:39 +0000 Received: from localhost ([127.0.0.1]:35723 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aCaj1-0000Bg-Nx for submit@debbugs.gnu.org; Fri, 25 Dec 2015 17:20:39 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:43263) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aCaj0-0000BZ-BO for control@debbugs.gnu.org; Fri, 25 Dec 2015 17:20:38 -0500 Received: from 2.150.58.24.tmi.telenormobil.no ([2.150.58.24] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1aCaif-0005LB-LB for control@debbugs.gnu.org; Fri, 25 Dec 2015 23:20:17 +0100 Date: Fri, 25 Dec 2015 23:20:16 +0100 Message-Id: <87twn6w4pr.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #10 X-MailScanner-ID: 1aCaif-0005LB-LB X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1451686818.04667@mjiQ5z/15wQSfWnyKPZZxw X-Spam-Status: No X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) forcemerge 10 11788 From unknown Fri Aug 15 20:27:27 2025 X-Loop: help-debbugs@gnu.org Subject: bug#11788: [babc40c4] still fails to implement HTTPS over HTTP proxy properly Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, Magnus Henoch Resent-Date: Sat, 26 Dec 2015 07:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11788 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Lars Ingebrigtsen Cc: schwab@linux-m68k.org, fangtao0901@gmail.com, 11788@debbugs.gnu.org, ivan@siamics.net Reply-To: Eli Zaretskii Received: via spool by 11788-submit@debbugs.gnu.org id=B11788.145111465127169 (code B ref 11788); Sat, 26 Dec 2015 07:25:02 +0000 Received: (at 11788) by debbugs.gnu.org; 26 Dec 2015 07:24:11 +0000 Received: from localhost ([127.0.0.1]:36689 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aCjCw-000745-Qi for submit@debbugs.gnu.org; Sat, 26 Dec 2015 02:24:10 -0500 Received: from eggs.gnu.org ([208.118.235.92]:47060) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aCjCr-00073Y-Gu for 11788@debbugs.gnu.org; Sat, 26 Dec 2015 02:24:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aCjCh-0008Kl-Sd for 11788@debbugs.gnu.org; Sat, 26 Dec 2015 02:23:56 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:41442) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aCjCh-0008Kh-Oz; Sat, 26 Dec 2015 02:23:51 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4365 helo=HOME-C4E4A596F7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aCjCh-0005Mb-0Z; Sat, 26 Dec 2015 02:23:51 -0500 Date: Sat, 26 Dec 2015 09:24:35 +0200 Message-Id: <83k2o1k6z0.fsf@gnu.org> From: Eli Zaretskii In-reply-to: <87lh8iz041.fsf@gnus.org> (message from Lars Ingebrigtsen on Fri, 25 Dec 2015 22:31:26 +0100) References: <87siua8hf1.fsf@violet.siamics.net> <87io998qjn.fsf@gmail.com> <87lh8iz041.fsf@gnus.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > From: Lars Ingebrigtsen > Date: Fri, 25 Dec 2015 22:31:26 +0100 > Cc: schwab@linux-m68k.org, ivan@siamics.net, 11788@debbugs.gnu.org > > lo2net writes: > > > PS: If without gnutls support, it needs to be modified to use external > > program with https via proxy support(e.g. openssl s_client post-May 2015 release version: > > http://rt.openssl.org/Ticket/Display.html?id=2651) other than just throw an > > error. But I think very few people will need this since this bug report > > stayed with outstanding status for such a long time. > > > > Here is the patch: > > I don't use proxies, so I can't test this, but looking at the code > quickly, it looks good. (But see comments below on style.) > > Do you have FSF copyright assignments for Emacs on file? There's no assignment on file under the name lo2net . From unknown Fri Aug 15 20:27:27 2025 X-Loop: help-debbugs@gnu.org Subject: bug#11788: [babc40c4] still fails to implement HTTPS over HTTP proxy properly Resent-From: lo2net Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, Magnus Henoch Resent-Date: Wed, 30 Dec 2015 16:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11788 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Eli Zaretskii Cc: Lars Ingebrigtsen , schwab@linux-m68k.org, 11788@debbugs.gnu.org, ivan@siamics.net Received: via spool by 11788-submit@debbugs.gnu.org id=B11788.145149218825292 (code B ref 11788); Wed, 30 Dec 2015 16:17:02 +0000 Received: (at 11788) by debbugs.gnu.org; 30 Dec 2015 16:16:28 +0000 Received: from localhost ([127.0.0.1]:50550 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aEJQH-0006Zp-7b for submit@debbugs.gnu.org; Wed, 30 Dec 2015 11:16:28 -0500 Received: from mail-qg0-f43.google.com ([209.85.192.43]:35167) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aEJQF-0006Za-EN for 11788@debbugs.gnu.org; Wed, 30 Dec 2015 11:16:24 -0500 Received: by mail-qg0-f43.google.com with SMTP id o11so186422665qge.2 for <11788@debbugs.gnu.org>; Wed, 30 Dec 2015 08:16:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:user-agent:date:in-reply-to :message-id:mime-version:content-type; bh=if7HC0ua8KzJqsoiyyApH9UYUApZb2CuDF9wCAstTkU=; b=eA/kONBEUK9fw/1gyZeA/IqEJ7s3fm/2TWcqJiiyTNOia5pJ8ouSBqV67+cjDl4yNe ry0MIU+3dCLO77/tIDAthPDC3YAS1Qx24rCWpybo5x0rflmme0P1M40QKHmMC5qw53Xq 07mRE/8sVTqD+80RHmvzYs16IoBGCZ6CD0e+6AnUeI1tm5WV0hVeOSXr5icMBOVGu9X4 kXXHIPR6T3PkFFAcMOc7JUmEfDbeCAEWd6Vuy2kawc6bZXiRjX7wjQ59yItsCP9FueyN K/5PNmWwK16eYeve0MQv2Q4y99Z7RoYh53Xw4oG9KuXAu7kgzqy9CohQx7B8V4H1XDXj LSqA== X-Received: by 10.140.137.199 with SMTP id 190mr89572148qhj.91.1451492177969; Wed, 30 Dec 2015 08:16:17 -0800 (PST) Received: from StormPC.yourcompany.com (ec2-52-3-137-119.compute-1.amazonaws.com. [52.3.137.119]) by smtp.gmail.com with ESMTPSA id m52sm31233059qge.20.2015.12.30.08.16.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 30 Dec 2015 08:16:17 -0800 (PST) From: lo2net References: <87siua8hf1.fsf@violet.siamics.net> <87io998qjn.fsf@gmail.com> <87lh8iz041.fsf@gnus.org> <83k2o1k6z0.fsf@gnu.org> User-Agent: Emacs/gnus Date: Thu, 31 Dec 2015 00:16:03 +0800 In-Reply-To: <83k2o1k6z0.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 26 Dec 2015 09:24:35 +0200") Message-ID: <8737uj7vzw.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.4 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.4 (/) Eli Zaretskii writes: >> From: Lars Ingebrigtsen >> Date: Fri, 25 Dec 2015 22:31:26 +0100 >> Cc: schwab@linux-m68k.org, ivan@siamics.net, 11788@debbugs.gnu.org >> >> lo2net writes: >> >> > PS: If without gnutls support, it needs to be modified to use external >> > program with https via proxy support(e.g. openssl s_client post-May 2015 release version: >> > http://rt.openssl.org/Ticket/Display.html?id=2651) other than just throw an >> > error. But I think very few people will need this since this bug report >> > stayed with outstanding status for such a long time. >> > >> > Here is the patch: >> >> I don't use proxies, so I can't test this, but looking at the code >> quickly, it looks good. (But see comments below on style.) Sorry about bad coding style, I'll fix that. >> >> Do you have FSF copyright assignments for Emacs on file? > > There's no assignment on file under the name lo2net . What should I do next so this bug can be fixed ASAP? Although I've just read http://www.gnu.org/software/emacs/CONTRIBUTE, but I still can't figure out. Should I email request-assign.future to assign@gnu.org now? From unknown Fri Aug 15 20:27:27 2025 X-Loop: help-debbugs@gnu.org Subject: bug#11788: [babc40c4] still fails to implement HTTPS over HTTP proxy properly Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, Magnus Henoch Resent-Date: Wed, 30 Dec 2015 16:50:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11788 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: lo2net Cc: larsi@gnus.org, schwab@linux-m68k.org, 11788@debbugs.gnu.org, ivan@siamics.net Reply-To: Eli Zaretskii Received: via spool by 11788-submit@debbugs.gnu.org id=B11788.145149419128436 (code B ref 11788); Wed, 30 Dec 2015 16:50:01 +0000 Received: (at 11788) by debbugs.gnu.org; 30 Dec 2015 16:49:51 +0000 Received: from localhost ([127.0.0.1]:50573 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aEJwd-0007OZ-83 for submit@debbugs.gnu.org; Wed, 30 Dec 2015 11:49:51 -0500 Received: from eggs.gnu.org ([208.118.235.92]:52892) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aEJwb-0007OO-Sn for 11788@debbugs.gnu.org; Wed, 30 Dec 2015 11:49:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aEJwT-0002Q0-7Z for 11788@debbugs.gnu.org; Wed, 30 Dec 2015 11:49:44 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:55880) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aEJwT-0002Pw-44; Wed, 30 Dec 2015 11:49:41 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1175 helo=HOME-C4E4A596F7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aEJwS-0004QQ-72; Wed, 30 Dec 2015 11:49:40 -0500 Date: Wed, 30 Dec 2015 18:50:33 +0200 Message-Id: <83bn97dgo6.fsf@gnu.org> From: Eli Zaretskii In-reply-to: <8737uj7vzw.fsf@gmail.com> (message from lo2net on Thu, 31 Dec 2015 00:16:03 +0800) References: <87siua8hf1.fsf@violet.siamics.net> <87io998qjn.fsf@gmail.com> <87lh8iz041.fsf@gnus.org> <83k2o1k6z0.fsf@gnu.org> <8737uj7vzw.fsf@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > From: lo2net > Cc: Lars Ingebrigtsen , schwab@linux-m68k.org, ivan@siamics.net, 11788@debbugs.gnu.org > Date: Thu, 31 Dec 2015 00:16:03 +0800 > > >> Do you have FSF copyright assignments for Emacs on file? > > > > There's no assignment on file under the name lo2net . > > What should I do next so this bug can be fixed ASAP? Although I've just > read http://www.gnu.org/software/emacs/CONTRIBUTE, but I still can't figure > out. Should I email request-assign.future to assign@gnu.org now? Form sent off-list. From unknown Fri Aug 15 20:27:27 2025 X-Loop: help-debbugs@gnu.org Subject: bug#11788: [babc40c4] still fails to implement HTTPS over HTTP proxy properly Resent-From: David Engster Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, Magnus Henoch Resent-Date: Tue, 08 Mar 2016 19:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11788 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Eli Zaretskii Cc: schwab@linux-m68k.org, larsi@gnus.org, lo2net , 11788@debbugs.gnu.org, ivan@siamics.net Received: via spool by 11788-submit@debbugs.gnu.org id=B11788.145746610328455 (code B ref 11788); Tue, 08 Mar 2016 19:42:02 +0000 Received: (at 11788) by debbugs.gnu.org; 8 Mar 2016 19:41:43 +0000 Received: from localhost ([127.0.0.1]:40046 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1adNVi-0007On-TL for submit@debbugs.gnu.org; Tue, 08 Mar 2016 14:41:43 -0500 Received: from randomsample.de ([5.45.97.173]:50954) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1adNVe-0007Oa-CQ for 11788@debbugs.gnu.org; Tue, 08 Mar 2016 14:41:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=randomsample.de; s=a; h=Content-Type:MIME-Version:Message-ID:Date:References:In-Reply-To:Subject:Cc:To:From; bh=RLhH8YU8ZFSTvxEK2joFJgkU6jw+PqgDDYUmdT4HHDc=; b=Og404yaMSodsaw8vu8j31HXF8JZO+agOHgQyt+jjRg1V/q9D2p/NVIqGALWekKuVZYp9uj6H3CrYvqZcvROHldMgJw/J/HaeqfF76Gj3vp5o81Dhrero9uEhVCZJccUz; Received: from ip4d1494ed.dynamic.kabel-deutschland.de ([77.20.148.237] helo=isaac) by randomsample.de with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1adNVb-0007je-56; Tue, 08 Mar 2016 20:41:31 +0100 From: David Engster In-Reply-To: <83bn97dgo6.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 30 Dec 2015 18:50:33 +0200") References: <87siua8hf1.fsf@violet.siamics.net> <87io998qjn.fsf@gmail.com> <87lh8iz041.fsf@gnus.org> <83k2o1k6z0.fsf@gnu.org> <8737uj7vzw.fsf@gmail.com> <83bn97dgo6.fsf@gnu.org> User-Agent: Gnus/5.13001 (Ma Gnus v0.10) Emacs/25.0.50 (gnu/linux) Mail-Copies-To: never Date: Tue, 08 Mar 2016 20:41:23 +0100 Message-ID: <87a8m8dafw.fsf@engster.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) Eli Zaretskii writes: >> From: lo2net >> Cc: Lars Ingebrigtsen , schwab@linux-m68k.org, >> ivan@siamics.net, 11788@debbugs.gnu.org > >> Date: Thu, 31 Dec 2015 00:16:03 +0800 >> >> >> Do you have FSF copyright assignments for Emacs on file? >> > >> > There's no assignment on file under the name lo2net . >> >> What should I do next so this bug can be fixed ASAP? Although I've just >> read http://www.gnu.org/software/emacs/CONTRIBUTE, but I still can't figure >> out. Should I email request-assign.future to assign@gnu.org now? > > Form sent off-list. Any news on the assignment? I've stumbled upon this bug today, and IMHO this is actually pretty serious. It should definitely be fixed for Emacs 25.1. It would be OK if https over a proxy simply fails; what I've seen however is that the proxy connects to the requested host via Port 80 instead (meaning plain http). When a site publishes the same content over https as well as http, the user is led to believe that she communicates over an secure channel, when in fact everything is communicated over plain http. For instance, when I do M-x eww RET https://www.google.de RET Emacs will connect to the configured proxy and use a GET request: GET https://www.google.de/ HTTP/1.1 ... At least the two proxies I tested with (CYAN, tinyproxy) will ignore the 'https' part and send a GET request to www.google.de on Port 80 instead. In effect, Eww will succesfully display the Google web site, showing 'https://www.google.de' in its URL bar, while in fact everything I now enter is send over plain http without encryption. -David From unknown Fri Aug 15 20:27:27 2025 X-Loop: help-debbugs@gnu.org Subject: bug#11788: [babc40c4] still fails to implement HTTPS over HTTP proxy properly Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, Magnus Henoch Resent-Date: Tue, 08 Mar 2016 20:06:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11788 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: David Engster Cc: schwab@linux-m68k.org, larsi@gnus.org, fangtao0901@gmail.com, 11788@debbugs.gnu.org, ivan@siamics.net Reply-To: Eli Zaretskii Received: via spool by 11788-submit@debbugs.gnu.org id=B11788.14574675544504 (code B ref 11788); Tue, 08 Mar 2016 20:06:01 +0000 Received: (at 11788) by debbugs.gnu.org; 8 Mar 2016 20:05:54 +0000 Received: from localhost ([127.0.0.1]:40062 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1adNt7-0001AU-R5 for submit@debbugs.gnu.org; Tue, 08 Mar 2016 15:05:54 -0500 Received: from eggs.gnu.org ([208.118.235.92]:33360) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1adNt3-0001AF-N5 for 11788@debbugs.gnu.org; Tue, 08 Mar 2016 15:05:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1adNsu-0004DI-DS for 11788@debbugs.gnu.org; Tue, 08 Mar 2016 15:05:40 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:46815) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1adNsu-0004D9-1w; Tue, 08 Mar 2016 15:05:36 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3104 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1adNss-0005Tu-Vm; Tue, 08 Mar 2016 15:05:35 -0500 Date: Tue, 08 Mar 2016 22:05:43 +0200 Message-Id: <831t7krazs.fsf@gnu.org> From: Eli Zaretskii In-reply-to: <87a8m8dafw.fsf@engster.org> (message from David Engster on Tue, 08 Mar 2016 20:41:23 +0100) References: <87siua8hf1.fsf@violet.siamics.net> <87io998qjn.fsf@gmail.com> <87lh8iz041.fsf@gnus.org> <83k2o1k6z0.fsf@gnu.org> <8737uj7vzw.fsf@gmail.com> <83bn97dgo6.fsf@gnu.org> <87a8m8dafw.fsf@engster.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) > From: David Engster > Cc: lo2net , larsi@gnus.org, schwab@linux-m68k.org, ivan@siamics.net, 11788@debbugs.gnu.org > Date: Tue, 08 Mar 2016 20:41:23 +0100 > > >> What should I do next so this bug can be fixed ASAP? Although I've just > >> read http://www.gnu.org/software/emacs/CONTRIBUTE, but I still can't figure > >> out. Should I email request-assign.future to assign@gnu.org now? > > > > Form sent off-list. > > Any news on the assignment? No, I still don't see it on file. From unknown Fri Aug 15 20:27:27 2025 X-Loop: help-debbugs@gnu.org Subject: bug#11788: [babc40c4] still fails to implement HTTPS over HTTP proxy properly Resent-From: Tao Fang Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, Magnus Henoch Resent-Date: Tue, 15 Mar 2016 15:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11788 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Eli Zaretskii Cc: 11788@debbugs.gnu.org, larsi@gnus.org, schwab@linux-m68k.org, ivan@siamics.net, David Engster Received: via spool by 11788-submit@debbugs.gnu.org id=B11788.145805692123544 (code B ref 11788); Tue, 15 Mar 2016 15:49:01 +0000 Received: (at 11788) by debbugs.gnu.org; 15 Mar 2016 15:48:41 +0000 Received: from localhost ([127.0.0.1]:49285 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1afrD6-00067g-Kl for submit@debbugs.gnu.org; Tue, 15 Mar 2016 11:48:40 -0400 Received: from mail-qk0-f182.google.com ([209.85.220.182]:36382) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1afrD3-00067S-Ug for 11788@debbugs.gnu.org; Tue, 15 Mar 2016 11:48:38 -0400 Received: by mail-qk0-f182.google.com with SMTP id s68so8589528qkh.3 for <11788@debbugs.gnu.org>; Tue, 15 Mar 2016 08:48:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:user-agent:date:in-reply-to :message-id:mime-version; bh=1W4BQr9XIPzTY0BK0r+PP1xmKall+o6VeUmgSRNvw5k=; b=Bq+mLOt5Oe5If6ubSqbxvnWGhhSpDVZUwmPywjkfpkGRiNxEM+rKOK/2heyMyxxVvQ KlBXKe3jsuz0tcZwxM689E/agOLtIE0XgWCzwdSWMUgw6Yp7ZQ6TWVg0vKoAphWSoILJ Q72DoPPX5zlG5qA0xGNWeUMTwtNVQ7Us9WHJOs8HncF1X4zQionmBQcGxUURoYdfuSQ5 1ywH2SWU5hmOl4JHPJtb29j53ez0dkb79QlbetbkCUX6LFNhDDdWa5pQArgFZaq0BEH6 QzMCuV4nhrnJo3fOn/wDZEe5pHs3Su+BnS/Sh4qQcr/RIUCsW9Q+Qy1rbCU7kfbSB7Kl 8Dww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:references:user-agent:date :in-reply-to:message-id:mime-version; bh=1W4BQr9XIPzTY0BK0r+PP1xmKall+o6VeUmgSRNvw5k=; b=Z16hwZ6lEcbXSbcB3OmuSzHK2pl8yfXNpxpMMd4hdmt4yL33/7I+lcRKIZlIhO52Eb 6xwSAMThFvbdYWl5jfrbgOmbFWytfZQ4TC8aS0aw3BUxjl/tmI+EPd3tSW00F1kij363 yZJVthU3j6Ypy9nUMsQnMgPTIeJbJLIFzSDgFOU4p8z5ML6rHwn7t4cbi7VL1KmZiF7W eP8iHeer4ZUGlnQ7YvKQfi1i+lqA73jZiuXQ8TvUy+Ammn5fwikXZSn/WTipcsQPkURb RID7KIJF0z4DICFI4oqaQgAO49CQWnGlkFt+fc9oJWticQpNUOdS4ncT0shsg6iF9UWM Glzg== X-Gm-Message-State: AD7BkJLOsmi4Jevgv1PLMbvWotDbBPnZ5ziYE/RnX/Qq5rzZ4uRK0LXGJKCozcINykrgfw== X-Received: by 10.55.74.141 with SMTP id x135mr38606282qka.20.1458056912397; Tue, 15 Mar 2016 08:48:32 -0700 (PDT) Received: from StormPC.yourcompany.com (ec2-52-3-137-119.compute-1.amazonaws.com. [52.3.137.119]) by smtp.gmail.com with ESMTPSA id b40sm12948149qga.7.2016.03.15.08.48.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 15 Mar 2016 08:48:31 -0700 (PDT) From: Tao Fang References: <87siua8hf1.fsf@violet.siamics.net> <87io998qjn.fsf@gmail.com> <87lh8iz041.fsf@gnus.org> <83k2o1k6z0.fsf@gnu.org> <8737uj7vzw.fsf@gmail.com> <83bn97dgo6.fsf@gnu.org> <87a8m8dafw.fsf@engster.org> <831t7krazs.fsf@gnu.org> User-Agent: Emacs/Gnus Date: Tue, 15 Mar 2016 23:47:27 +0800 In-Reply-To: <831t7krazs.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 08 Mar 2016 22:05:43 +0200") Message-ID: <87d1qvwxo0.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -0.5 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) --=-=-= Content-Type: text/plain Eli Zaretskii writes: > No, I still don't see it on file. I've received notice email of the assignment/disclaimer process with the FSF yesterday, and currently it's complete, please check the file to see if it's all okay? And I've re-format the previous attached patch file and maybe somebody could helping review, modify and apply it to the repo? Thanks! -- Emacs/Gnus --=-=-= Content-Type: text/x-diff Content-Disposition: attachment; filename=0001-Fix-url-https-over-proxy-implement.-Bug-11788.patch Content-Description: patch file >From 2b09b6d1dff2afebc73ce4476eb866c6fd40fba2 Mon Sep 17 00:00:00 2001 From: Tao Fang Date: Tue, 15 Mar 2016 23:04:25 +0800 Subject: [PATCH] Fix url https over proxy implement. (Bug#11788) --- lisp/url/url-http.el | 86 +++++++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 72 insertions(+), 14 deletions(-) diff --git a/lisp/url/url-http.el b/lisp/url/url-http.el index 33f6d11..6855ece 100644 --- a/lisp/url/url-http.el +++ b/lisp/url/url-http.el @@ -197,7 +197,10 @@ request.") ;; `url-open-stream' needs a buffer in which to do things ;; like authentication. But we use another buffer afterwards. (unwind-protect - (let ((proc (url-open-stream host buf host port gateway-method))) + (let ((proc (url-open-stream host buf + (if url-using-proxy (url-host url-using-proxy) host) + (if url-using-proxy (url-port url-using-proxy) port) + gateway-method))) ;; url-open-stream might return nil. (when (processp proc) ;; Drop the temp buffer link before killing the buffer. @@ -925,7 +928,11 @@ should be shown to the user." (erase-buffer) (let ((url-request-method url-http-method) (url-request-extra-headers url-http-extra-headers) - (url-request-data url-http-data)) + (url-request-data url-http-data) + (url-using-proxy (url-find-proxy-for-url url-current-object + (url-host url-current-object)))) + (when url-using-proxy + (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-http-parse-headers) @@ -1209,17 +1216,17 @@ The return value of this function is the retrieval buffer." (nsm-noninteractive (or url-request-noninteractive (and (boundp 'url-http-noninteractive) url-http-noninteractive))) - (connection (url-http-find-free-connection host port gateway-method)) + (connection (url-http-find-free-connection (url-host url) (url-port url) gateway-method)) (mime-accept-string url-mime-accept-string) (buffer (or retry-buffer (generate-new-buffer - (format " *http %s:%d*" host port))))) + (format " *http %s:%d*" (url-host url) (url-port url)))))) (if (not connection) ;; Failed to open the connection for some reason (progn (kill-buffer buffer) (setq buffer nil) - (error "Could not create connection to %s:%d" host port)) + (error "Could not create connection to %s:%d" (url-host url) (url-port url))) (with-current-buffer buffer (mm-disable-multibyte) (setq url-current-object url @@ -1275,13 +1282,62 @@ The return value of this function is the retrieval buffer." (set-process-sentinel connection 'url-http-async-sentinel)) (`failed ;; Asynchronous connection failed - (error "Could not create connection to %s:%d" host port)) + (error "Could not create connection to %s:%d" (url-host url) (url-port url))) (_ - (set-process-sentinel connection - 'url-http-end-of-document-sentinel) - (process-send-string connection (url-http-create-request)))))) + (if (and url-http-proxy (string= "https" (url-type url-current-object))) + (url-https-proxy-connect connection) + (set-process-sentinel connection 'url-http-end-of-document-sentinel) + (process-send-string connection (url-http-create-request))))))) buffer)) +(defun url-https-proxy-connect (connection) + (setq url-http-after-change-function 'url-https-proxy-after-change-function) + (process-send-string connection (format (concat "CONNECT %s:%d HTTP/1.1\r\n" + "Host: %s\r\n" + "\r\n") + (url-host url-current-object) + (or (url-port url-current-object) 443) + (url-host url-current-object)))) + +(defun url-https-proxy-after-change-function (st nd length) + (let* ((process-buffer (current-buffer)) + (proc (get-buffer-process process-buffer))) + (goto-char (point-min)) + (when (re-search-forward "^\r?\n" nil t) + (backward-char 1) + ;; Saw the end of the headers + (setq url-http-end-of-headers (set-marker (make-marker) (point))) + (url-http-parse-response) + (cond + ((null url-http-response-status) + ;; We got back a headerless malformed response from the + ;; server. + (url-http-activate-callback) + (error "Malformed response from proxy, fail!")) + ((= url-http-response-status 200) + (if (gnutls-available-p) + (condition-case e + (let ((tls-connection (gnutls-negotiate + :process proc + :hostname (url-host url-current-object) + :verify-error nil))) + (with-current-buffer process-buffer (erase-buffer)) + (set-process-buffer tls-connection process-buffer) + (setq url-http-after-change-function 'url-http-wait-for-headers-change-function) + (set-process-filter tls-connection 'url-http-generic-filter) + (process-send-string tls-connection (url-http-create-request))) + (gnutls-error + (url-http-activate-callback) + (error "gnutls-error: %s" e)) + (error + (url-http-activate-callback) + (error "error: %s" e))) + (error "error: gnutls support needed!"))) + (t + ;; (setq url-http-connection-opened nil) + (url-http-activate-callback) + (error "error response: %d\n" url-http-response-status)))))) + (defun url-http-async-sentinel (proc why) ;; We are performing an asynchronous connection, and a status change ;; has occurred. @@ -1293,11 +1349,13 @@ The return value of this function is the retrieval buffer." (url-http-end-of-document-sentinel proc why)) ((string= (substring why 0 4) "open") (setq url-http-connection-opened t) - (condition-case error - (process-send-string proc (url-http-create-request)) - (file-error - (setq url-http-connection-opened nil) - (message "HTTP error: %s" error)))) + (if (and url-http-proxy (string= "https" (url-type url-current-object))) + (url-https-proxy-connect proc) + (condition-case error + (process-send-string proc (url-http-create-request)) + (file-error + (setq url-http-connection-opened nil) + (message "HTTP error: %s" error))))) (t (setf (car url-callback-arguments) (nconc (list :error (list 'error 'connection-failed why -- 2.7.3 --=-=-=-- From unknown Fri Aug 15 20:27:27 2025 X-Loop: help-debbugs@gnu.org Subject: bug#11788: [babc40c4] still fails to implement HTTPS over HTTP proxy properly Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, Magnus Henoch Resent-Date: Wed, 16 Mar 2016 16:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11788 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Tao Fang Cc: 11788@debbugs.gnu.org, larsi@gnus.org, schwab@linux-m68k.org, ivan@siamics.net, deng@randomsample.de Reply-To: Eli Zaretskii Received: via spool by 11788-submit@debbugs.gnu.org id=B11788.145814542511667 (code B ref 11788); Wed, 16 Mar 2016 16:24:02 +0000 Received: (at 11788) by debbugs.gnu.org; 16 Mar 2016 16:23:45 +0000 Received: from localhost ([127.0.0.1]:50382 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1agEEX-000323-1e for submit@debbugs.gnu.org; Wed, 16 Mar 2016 12:23:45 -0400 Received: from eggs.gnu.org ([208.118.235.92]:58622) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1agEES-00031o-Dq for 11788@debbugs.gnu.org; Wed, 16 Mar 2016 12:23:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1agEEJ-0001SC-MF for 11788@debbugs.gnu.org; Wed, 16 Mar 2016 12:23:31 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:36147) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1agEEJ-0001S7-9P; Wed, 16 Mar 2016 12:23:27 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1335 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1agEEI-00055w-An; Wed, 16 Mar 2016 12:23:26 -0400 Date: Wed, 16 Mar 2016 18:23:04 +0200 Message-Id: <83pouu9ytz.fsf@gnu.org> From: Eli Zaretskii In-reply-to: <87d1qvwxo0.fsf@gmail.com> (message from Tao Fang on Tue, 15 Mar 2016 23:47:27 +0800) References: <87siua8hf1.fsf@violet.siamics.net> <87io998qjn.fsf@gmail.com> <87lh8iz041.fsf@gnus.org> <83k2o1k6z0.fsf@gnu.org> <8737uj7vzw.fsf@gmail.com> <83bn97dgo6.fsf@gnu.org> <87a8m8dafw.fsf@engster.org> <831t7krazs.fsf@gnu.org> <87d1qvwxo0.fsf@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) > From: Tao Fang > Cc: David Engster , larsi@gnus.org, schwab@linux-m68k.org, ivan@siamics.net, 11788@debbugs.gnu.org > Date: Tue, 15 Mar 2016 23:47:27 +0800 > > Eli Zaretskii writes: > > > No, I still don't see it on file. > > I've received notice email of the assignment/disclaimer process with the > FSF yesterday, and currently it's complete, please check the file to see > if it's all okay? Not yet, probably in a couple of days. From unknown Fri Aug 15 20:27:27 2025 X-Loop: help-debbugs@gnu.org Subject: bug#11788: [babc40c4] still fails to implement HTTPS over HTTP proxy properly Resent-From: Lars Magne Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, Magnus Henoch Resent-Date: Sun, 20 Mar 2016 11:22:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11788 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Tao Fang Cc: David Engster , Eli Zaretskii , schwab@linux-m68k.org, ivan@siamics.net, 11788@debbugs.gnu.org Received: via spool by 11788-submit@debbugs.gnu.org id=B11788.14584728795135 (code B ref 11788); Sun, 20 Mar 2016 11:22:01 +0000 Received: (at 11788) by debbugs.gnu.org; 20 Mar 2016 11:21:19 +0000 Received: from localhost ([127.0.0.1]:54190 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ahbQ7-0001Kk-LB for submit@debbugs.gnu.org; Sun, 20 Mar 2016 07:21:19 -0400 Received: from hermes.netfonds.no ([80.91.224.195]:54406) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ahbQ5-0001Kc-5C for 11788@debbugs.gnu.org; Sun, 20 Mar 2016 07:21:17 -0400 Received: from cm-84.215.1.64.getinternet.no ([84.215.1.64] helo=stories) by hermes.netfonds.no with esmtpsa (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.84_2) (envelope-from ) id 1ahbPy-0000kH-AR; Sun, 20 Mar 2016 12:21:12 +0100 From: Lars Magne Ingebrigtsen References: <87siua8hf1.fsf@violet.siamics.net> <87io998qjn.fsf@gmail.com> <87lh8iz041.fsf@gnus.org> <83k2o1k6z0.fsf@gnu.org> <8737uj7vzw.fsf@gmail.com> <83bn97dgo6.fsf@gnu.org> <87a8m8dafw.fsf@engster.org> <831t7krazs.fsf@gnu.org> <87d1qvwxo0.fsf@gmail.com> Date: Sun, 20 Mar 2016 12:21:09 +0100 In-Reply-To: <87d1qvwxo0.fsf@gmail.com> (Tao Fang's message of "Tue, 15 Mar 2016 23:47:27 +0800") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) Tao Fang writes: > I've received notice email of the assignment/disclaimer process with the > FSF yesterday, and currently it's complete, please check the file to see > if it's all okay? Your assignment is now on file... > And I've re-format the previous attached patch file and maybe somebody > could helping review, modify and apply it to the repo? Looks basically good, but a few notes: > - (let ((proc (url-open-stream host buf host port gateway-method))) > + (let ((proc (url-open-stream host buf > + (if url-using-proxy (url-host url-using-proxy) host) > + (if url-using-proxy (url-port url-using-proxy) port) > + gateway-method))) Throughout the code, the lines seem to be too long. They should preferably not be more than 80 characters long (unless there's an absolute need). [...] > + (let ((tls-connection (gnutls-negotiate > + :process proc > + :hostname (url-host url-current-object) > + :verify-error nil))) After negotiation, you should probably call `nsm-verify-connection'. Uhm... and that's it. Oh, and a NEWS entry saying that url now supports HTTPS proxies would be nice, and a ChangeLog style commit message. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From unknown Fri Aug 15 20:27:27 2025 X-Loop: help-debbugs@gnu.org Subject: bug#11788: [babc40c4] still fails to implement HTTPS over HTTP proxy properly Resent-From: Tao Fang Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, Magnus Henoch Resent-Date: Tue, 22 Mar 2016 15:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11788 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Lars Magne Ingebrigtsen Cc: David Engster , Eli Zaretskii , schwab@linux-m68k.org, ivan@siamics.net, 11788@debbugs.gnu.org Received: via spool by 11788-submit@debbugs.gnu.org id=B11788.145866073922612 (code B ref 11788); Tue, 22 Mar 2016 15:33:02 +0000 Received: (at 11788) by debbugs.gnu.org; 22 Mar 2016 15:32:19 +0000 Received: from localhost ([127.0.0.1]:60155 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aiOI3-0005sb-UZ for submit@debbugs.gnu.org; Tue, 22 Mar 2016 11:32:19 -0400 Received: from mail-qg0-f46.google.com ([209.85.192.46]:34244) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aiOHy-0005sF-Rz for 11788@debbugs.gnu.org; Tue, 22 Mar 2016 11:32:14 -0400 Received: by mail-qg0-f46.google.com with SMTP id w104so181192384qge.1 for <11788@debbugs.gnu.org>; Tue, 22 Mar 2016 08:32:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:user-agent:date:in-reply-to :message-id:mime-version; bh=EIF+Uo0UjPKwurcIhN3Uz1zRY0c8u5PGFoOq/ahNX0U=; b=Pp1iMvgUYK1YG62H1Rc7hBXlv7rW9IVFy7pwdlkXBk6ygcWWGx1RLOB0c2zQn5uVaQ A/LS17CCy7j0Ainlwy7oLJxoH1U2E5UhWp2lHnYprM5xwlyy3owMM4Dk9pdJpY1zyNPO TkK0YXT1GeOwX2vpWtJgsWC/oSqQbZ38WMmidzjUTKSdPzLAcmPZDnyNRfOVn8Nq0GHs YaW6mYb3yk4EpFLpoF8p1/dCiAVEbeL+mbGDXsLIlMibU5fnbSERWcXRg3ZteZH4ixwv uJYYlPCrhqIUs61/ZZ/+8xDNw6HxODjQHEWaZ0BQXd98O0zilTAt/Ex+wv3ivvY15U1x VD/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:references:user-agent:date :in-reply-to:message-id:mime-version; bh=EIF+Uo0UjPKwurcIhN3Uz1zRY0c8u5PGFoOq/ahNX0U=; b=SISe4XsjS9Kt/Hmf59IRmDLKTVtxeCzw67HOk8cCynmlDEi+k4e1HHLF0GyI6OiEPY D+yKgt/vAg1+fYmzRBb3HsqU0R3+2VOI1KbqSk/o06ILEr1JX33Ny9khiBLCk1wSFOBE pLTb+X9pwHGERL3VEd5ZQFzZM62HuxVDzKw2XxOgyjTGdwVrFIn2lK/u25p1A44V+r69 JhYxvremglQdICgCfX7q/9+ESZSCm6ebCZ48w7vNPlpZj9gUKgjsK+S8a8/eP44NHT/l S+AafLLeB2DKe0le3rGqBEiyUhNoQt/BaIYZxNnScr3g09U3GVD0WLpHccvcQmi32nJE QhLQ== X-Gm-Message-State: AD7BkJKpv4KrRxAkZSyDRdWYvqD+LyxnBfXTnAKogPO5e7/fmndJfGgvQK14jYPKjdbcFQ== X-Received: by 10.140.227.81 with SMTP id x78mr50754204qhb.6.1458660725289; Tue, 22 Mar 2016 08:32:05 -0700 (PDT) Received: from StormPC.yourcompany.com (ec2-52-3-137-119.compute-1.amazonaws.com. [52.3.137.119]) by smtp.gmail.com with ESMTPSA id g50sm14838876qgg.40.2016.03.22.08.31.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 22 Mar 2016 08:32:04 -0700 (PDT) From: Tao Fang References: <87siua8hf1.fsf@violet.siamics.net> <87io998qjn.fsf@gmail.com> <87lh8iz041.fsf@gnus.org> <83k2o1k6z0.fsf@gnu.org> <8737uj7vzw.fsf@gmail.com> <83bn97dgo6.fsf@gnu.org> <87a8m8dafw.fsf@engster.org> <831t7krazs.fsf@gnu.org> <87d1qvwxo0.fsf@gmail.com> User-Agent: Emacs/Gnus Date: Tue, 22 Mar 2016 23:31:43 +0800 In-Reply-To: (Lars Magne Ingebrigtsen's message of "Sun, 20 Mar 2016 12:21:09 +0100") Message-ID: <8760wesf4w.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -0.4 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.4 (/) --=-=-= Content-Type: text/plain Lars Magne Ingebrigtsen writes: > Throughout the code, the lines seem to be too long. They should > preferably not be more than 80 characters long (unless there's an > absolute need). > After negotiation, you should probably call `nsm-verify-connection'. > Uhm... and that's it. Oh, and a NEWS entry saying that url now > supports HTTPS proxies would be nice, and a ChangeLog style commit > message. Done with it. Here is the patch file: --=-=-= Content-Type: text/x-diff Content-Disposition: attachment; filename=0001-Fix-url-https-over-proxy-implement.-Bug-11788.patch >From 172363d31b3ad5f45da44aa09652d0e0779ef5f2 Mon Sep 17 00:00:00 2001 From: Tao Fang Date: Tue, 22 Mar 2016 22:39:51 +0800 Subject: [PATCH] Fix url https over proxy implement. (Bug#11788) * lisp/url/url-http.el: Fix url https over proxy implement. (Bug#11788) * etc/NEWS: Mention this. --- etc/NEWS | 3 ++ lisp/url/url-http.el | 105 ++++++++++++++++++++++++++++++++++++++++++++------- 2 files changed, 94 insertions(+), 14 deletions(-) diff --git a/etc/NEWS b/etc/NEWS index 4414625..7d2cc92 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -1193,6 +1193,9 @@ plist will contain a :peer element that has the output of programmatically delete all cookies, or cookies from a specific domain. ++++ +*** The URL package now support https over proxy. + ** Tramp +++ diff --git a/lisp/url/url-http.el b/lisp/url/url-http.el index 33f6d11..4f180ed 100644 --- a/lisp/url/url-http.el +++ b/lisp/url/url-http.el @@ -197,7 +197,14 @@ request.") ;; `url-open-stream' needs a buffer in which to do things ;; like authentication. But we use another buffer afterwards. (unwind-protect - (let ((proc (url-open-stream host buf host port gateway-method))) + (let ((proc (url-open-stream host buf + (if url-using-proxy + (url-host url-using-proxy) + host) + (if url-using-proxy + (url-port url-using-proxy) + port) + gateway-method))) ;; url-open-stream might return nil. (when (processp proc) ;; Drop the temp buffer link before killing the buffer. @@ -925,7 +932,13 @@ should be shown to the user." (erase-buffer) (let ((url-request-method url-http-method) (url-request-extra-headers url-http-extra-headers) - (url-request-data url-http-data)) + (url-request-data url-http-data) + (url-using-proxy (url-find-proxy-for-url + url-current-object + (url-host url-current-object)))) + (when url-using-proxy + (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-http-parse-headers) @@ -1209,17 +1222,20 @@ The return value of this function is the retrieval buffer." (nsm-noninteractive (or url-request-noninteractive (and (boundp 'url-http-noninteractive) url-http-noninteractive))) - (connection (url-http-find-free-connection host port gateway-method)) + (connection (url-http-find-free-connection (url-host url) + (url-port url) + gateway-method)) (mime-accept-string url-mime-accept-string) (buffer (or retry-buffer (generate-new-buffer - (format " *http %s:%d*" host port))))) + (format " *http %s:%d*" (url-host url) (url-port url)))))) (if (not connection) ;; Failed to open the connection for some reason (progn (kill-buffer buffer) (setq buffer nil) - (error "Could not create connection to %s:%d" host port)) + (error "Could not create connection to %s:%d" (url-host url) + (url-port url))) (with-current-buffer buffer (mm-disable-multibyte) (setq url-current-object url @@ -1275,13 +1291,72 @@ The return value of this function is the retrieval buffer." (set-process-sentinel connection 'url-http-async-sentinel)) (`failed ;; Asynchronous connection failed - (error "Could not create connection to %s:%d" host port)) + (error "Could not create connection to %s:%d" (url-host url) + (url-port url))) (_ - (set-process-sentinel connection - 'url-http-end-of-document-sentinel) - (process-send-string connection (url-http-create-request)))))) + (if (and url-http-proxy (string= "https" + (url-type url-current-object))) + (url-https-proxy-connect connection) + (set-process-sentinel connection + 'url-http-end-of-document-sentinel) + (process-send-string connection (url-http-create-request))))))) buffer)) +(defun url-https-proxy-connect (connection) + (setq url-http-after-change-function 'url-https-proxy-after-change-function) + (process-send-string connection (format (concat "CONNECT %s:%d HTTP/1.1\r\n" + "Host: %s\r\n" + "\r\n") + (url-host url-current-object) + (or (url-port url-current-object) + url-https-default-port) + (url-host url-current-object)))) + +(defun url-https-proxy-after-change-function (st nd length) + (let* ((process-buffer (current-buffer)) + (proc (get-buffer-process process-buffer))) + (goto-char (point-min)) + (when (re-search-forward "^\r?\n" nil t) + (backward-char 1) + ;; Saw the end of the headers + (setq url-http-end-of-headers (set-marker (make-marker) (point))) + (url-http-parse-response) + (cond + ((null url-http-response-status) + ;; We got back a headerless malformed response from the + ;; server. + (url-http-activate-callback) + (error "Malformed response from proxy, fail!")) + ((= url-http-response-status 200) + (if (gnutls-available-p) + (condition-case e + (let ((tls-connection (gnutls-negotiate + :process proc + :hostname (url-host url-current-object) + :verify-error nil))) + ;; check certificate validity + (setq tls-connection + (nsm-verify-connection tls-connection + (url-host url-current-object) + (url-port url-current-object))) + (with-current-buffer process-buffer (erase-buffer)) + (set-process-buffer tls-connection process-buffer) + (setq url-http-after-change-function + 'url-http-wait-for-headers-change-function) + (set-process-filter tls-connection 'url-http-generic-filter) + (process-send-string tls-connection + (url-http-create-request))) + (gnutls-error + (url-http-activate-callback) + (error "gnutls-error: %s" e)) + (error + (url-http-activate-callback) + (error "error: %s" e))) + (error "error: gnutls support needed!"))) + (t + (url-http-activate-callback) + (message "error response: %d" url-http-response-status)))))) + (defun url-http-async-sentinel (proc why) ;; We are performing an asynchronous connection, and a status change ;; has occurred. @@ -1293,11 +1368,13 @@ The return value of this function is the retrieval buffer." (url-http-end-of-document-sentinel proc why)) ((string= (substring why 0 4) "open") (setq url-http-connection-opened t) - (condition-case error - (process-send-string proc (url-http-create-request)) - (file-error - (setq url-http-connection-opened nil) - (message "HTTP error: %s" error)))) + (if (and url-http-proxy (string= "https" (url-type url-current-object))) + (url-https-proxy-connect proc) + (condition-case error + (process-send-string proc (url-http-create-request)) + (file-error + (setq url-http-connection-opened nil) + (message "HTTP error: %s" error))))) (t (setf (car url-callback-arguments) (nconc (list :error (list 'error 'connection-failed why -- 2.7.4 --=-=-= Content-Type: text/plain Feel free to modify the patch, I'm not very familiar with that :) But I hope the bug can be fixed ASAP since I don't want to modify it every time when udpate emacs daily build. -- Emacs/Gnus --=-=-=-- From unknown Fri Aug 15 20:27:27 2025 X-Loop: help-debbugs@gnu.org Subject: bug#11788: [babc40c4] still fails to implement HTTPS over HTTP proxy properly Resent-From: Lars Magne Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, Magnus Henoch Resent-Date: Mon, 04 Apr 2016 20:23:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11788 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Tao Fang Cc: ivan@siamics.net, Eli Zaretskii , schwab@linux-m68k.org, David Engster , 11788@debbugs.gnu.org Received: via spool by 11788-submit@debbugs.gnu.org id=B11788.14598013289981 (code B ref 11788); Mon, 04 Apr 2016 20:23:01 +0000 Received: (at 11788) by debbugs.gnu.org; 4 Apr 2016 20:22:08 +0000 Received: from localhost ([127.0.0.1]:51426 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1anB0i-0002at-Mn for submit@debbugs.gnu.org; Mon, 04 Apr 2016 16:22:08 -0400 Received: from hermes.netfonds.no ([80.91.224.195]:34098) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1anB0g-0002aY-4d for 11788@debbugs.gnu.org; Mon, 04 Apr 2016 16:22:06 -0400 Received: from cm-84.215.1.64.getinternet.no ([84.215.1.64] helo=stories) by hermes.netfonds.no with esmtpsa (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.84_2) (envelope-from ) id 1anB0Z-0007MA-22; Mon, 04 Apr 2016 22:22:00 +0200 From: Lars Magne Ingebrigtsen References: <87siua8hf1.fsf@violet.siamics.net> <87io998qjn.fsf@gmail.com> <87lh8iz041.fsf@gnus.org> <83k2o1k6z0.fsf@gnu.org> <8737uj7vzw.fsf@gmail.com> <83bn97dgo6.fsf@gnu.org> <87a8m8dafw.fsf@engster.org> <831t7krazs.fsf@gnu.org> <87d1qvwxo0.fsf@gmail.com> <8760wesf4w.fsf@gmail.com> Date: Mon, 04 Apr 2016 22:21:58 +0200 In-Reply-To: <8760wesf4w.fsf@gmail.com> (Tao Fang's message of "Tue, 22 Mar 2016 23:31:43 +0800") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) Tao Fang writes: > Here is the patch file: Thanks; applied to the trunk. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 04 16:22:08 2016 Received: (at control) by debbugs.gnu.org; 4 Apr 2016 20:22:08 +0000 Received: from localhost ([127.0.0.1]:51424 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1anB0i-0002an-Fp for submit@debbugs.gnu.org; Mon, 04 Apr 2016 16:22:08 -0400 Received: from hermes.netfonds.no ([80.91.224.195]:34097) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1anB0g-0002aW-4d for control@debbugs.gnu.org; Mon, 04 Apr 2016 16:22:06 -0400 Received: from cm-84.215.1.64.getinternet.no ([84.215.1.64] helo=stories) by hermes.netfonds.no with esmtpsa (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.84_2) (envelope-from ) id 1anB0d-0007MJ-Gq for control@debbugs.gnu.org; Mon, 04 Apr 2016 22:22:05 +0200 Date: Mon, 04 Apr 2016 22:22:03 +0200 Message-Id: To: control@debbugs.gnu.org From: Lars Magne Ingebrigtsen Subject: control message for bug #11788 X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) tags 11788 fixed close 11788 25.2 From unknown Fri Aug 15 20:27:27 2025 X-Loop: help-debbugs@gnu.org Subject: bug#11788: [babc40c4] still fails to implement HTTPS over HTTP proxy properly Resent-From: David Engster Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, Magnus Henoch Resent-Date: Tue, 05 Apr 2016 20:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11788 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch fixed To: Lars Magne Ingebrigtsen Cc: schwab@linux-m68k.org, Tao Fang , ivan@siamics.net, 11788@debbugs.gnu.org Received: via spool by 11788-submit@debbugs.gnu.org id=B11788.145988849817181 (code B ref 11788); Tue, 05 Apr 2016 20:35:02 +0000 Received: (at 11788) by debbugs.gnu.org; 5 Apr 2016 20:34:58 +0000 Received: from localhost ([127.0.0.1]:50719 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1anXgg-0004T2-IG for submit@debbugs.gnu.org; Tue, 05 Apr 2016 16:34:58 -0400 Received: from randomsample.de ([5.45.97.173]:47392) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1anXge-0004Su-Rz for 11788@debbugs.gnu.org; Tue, 05 Apr 2016 16:34:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=randomsample.de; s=a; h=Content-Type:MIME-Version:Message-ID:Date:References:In-Reply-To:Subject:Cc:To:From; bh=Z//6csIiaHj2dYfO/WR1HngeMV3UgGyG6Vx3nMKzEek=; b=iOAx62fvm0eyi7tnjMacOltWRxOt6uBtyOFUxCSwX7XmK3KPr+zo60yYohahr9SHd+oLREYAKiMI3cBrw4D9l19bpIqdDvlAw0JORGcMEt+aX4gnCBxxxAOJSHKVARNM; Received: from ip4d1494ed.dynamic.kabel-deutschland.de ([77.20.148.237] helo=isaac) by randomsample.de with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1anXgc-0004vI-UD; Tue, 05 Apr 2016 22:34:55 +0200 From: David Engster In-Reply-To: (Lars Magne Ingebrigtsen's message of "Mon, 04 Apr 2016 22:21:58 +0200") References: <87siua8hf1.fsf@violet.siamics.net> <87io998qjn.fsf@gmail.com> <87lh8iz041.fsf@gnus.org> <83k2o1k6z0.fsf@gnu.org> <8737uj7vzw.fsf@gmail.com> <83bn97dgo6.fsf@gnu.org> <87a8m8dafw.fsf@engster.org> <831t7krazs.fsf@gnu.org> <87d1qvwxo0.fsf@gmail.com> <8760wesf4w.fsf@gmail.com> User-Agent: Gnus/5.13001 (Ma Gnus v0.10) Emacs/25.0.50 (gnu/linux) Date: Tue, 05 Apr 2016 22:34:51 +0200 Message-ID: <87r3ej4wwk.fsf@engster.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -1.0 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Lars Magne Ingebrigtsen writes: > Tao Fang writes: > >> Here is the patch file: > > Thanks; applied to the trunk. As I've written in http://article.gmane.org/gmane.emacs.bugs/114598 I think this fixes a pretty serious bug and should hence land in emacs-25. -David From unknown Fri Aug 15 20:27:27 2025 X-Loop: help-debbugs@gnu.org Subject: bug#11788: [babc40c4] still fails to implement HTTPS over HTTP proxy properly Resent-From: Lars Magne Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, Magnus Henoch Resent-Date: Wed, 06 Apr 2016 11:47:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11788 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch fixed To: David Engster Cc: schwab@linux-m68k.org, Tao Fang , ivan@siamics.net, 11788@debbugs.gnu.org Received: via spool by 11788-submit@debbugs.gnu.org id=B11788.145994316921691 (code B ref 11788); Wed, 06 Apr 2016 11:47:01 +0000 Received: (at 11788) by debbugs.gnu.org; 6 Apr 2016 11:46:09 +0000 Received: from localhost ([127.0.0.1]:51069 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1anluT-0005dn-Di for submit@debbugs.gnu.org; Wed, 06 Apr 2016 07:46:09 -0400 Received: from hermes.netfonds.no ([80.91.224.195]:54055) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1anluR-0005db-Id for 11788@debbugs.gnu.org; Wed, 06 Apr 2016 07:46:08 -0400 Received: from cm-84.215.1.64.getinternet.no ([84.215.1.64] helo=stories) by hermes.netfonds.no with esmtpsa (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.84_2) (envelope-from ) id 1anluL-0004Mm-Ff; Wed, 06 Apr 2016 13:46:03 +0200 From: Lars Magne Ingebrigtsen References: <87siua8hf1.fsf@violet.siamics.net> <87io998qjn.fsf@gmail.com> <87lh8iz041.fsf@gnus.org> <83k2o1k6z0.fsf@gnu.org> <8737uj7vzw.fsf@gmail.com> <83bn97dgo6.fsf@gnu.org> <87a8m8dafw.fsf@engster.org> <831t7krazs.fsf@gnu.org> <87d1qvwxo0.fsf@gmail.com> <8760wesf4w.fsf@gmail.com> <87r3ej4wwk.fsf@engster.org> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAHlBMVEUbFRqXAh0eCw8lCg+C dEUYERUaDRJyBhwwJyYdDxPqxlL8AAACVUlEQVQ4jV3TQW/aMBQAYEsjUna0QMqOU6XRK8Gj2TWq p+boaX0RvXVENtch2rq7ecIZPvYwpvXf7tlOAuwJIsiX92w/O8QNYYiPGXmTcmdGxFYV55XlFTcJ JOT19SBS/pM+EEgEIfghLgEAwWYJpLykEwIhvHiAv+gvdgB/X4QM9/z2cBiVWEpK/18Q5zNeU1uO AW6v978jABBn8HrHsfwBlgncEiXrkEM8AEK5ABFASdn88aNgKfGA0EJqAqj7TXaIsxKWl3whnIuw pvQRZ9UCpJbzCWakSQ9PQAiCs+VkYvB3hIbSFvw6hPMZBHBxAVSujR8dwXH+DhvUw7r4LiURCsHy Z+xyB9OGPdUKpAIP1RFUwxa1Ws2VdHb/UCW+axHUCtTlFhdk0p2tQpc7kHWTsbkSZrlzoZs9KMgz tpWkfdk5nHlfChv8leqCvU93szsceAAl4QvVmqV7PVvizvvmBMCSG4RiT+lziqVgKIWVaKb1Bq+p CZPqAduIN/13ZuAE6gAhFuQEVJ0P8ANOQW76+2M4g+YIi3MYKmVX6hT82F1S28EoQIGPdvBYn8Mm 00Em3fqOGTQC7t8ZZHHdHtz/EIPzmwMer7aDfICKZ7gSayLE9WV+YtzD0rm2P4keNlprfG8+wK3l n/uz66EofklbYoboM/K4GZot1EceMmwVIEwVN3cr5Sc+nsLIRVjTbRydScXstZJ9E3M9zyNMEW7i sfGg5xfffHM1a/DwVlfhoCE08wu2ygoPU//imLo7PkzP2VRfUrpl9xyj8m8BgjsJy4/xD+OaRaUD fWjzAAAAAElFTkSuQmCC Date: Wed, 06 Apr 2016 13:46:01 +0200 In-Reply-To: <87r3ej4wwk.fsf@engster.org> (David Engster's message of "Tue, 05 Apr 2016 22:34:51 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) David Engster writes: > I think this fixes a pretty serious bug and should hence land in > emacs-25. I've now backported it. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From unknown Fri Aug 15 20:27:27 2025 X-Loop: help-debbugs@gnu.org Subject: bug#11788: [babc40c4] still fails to implement HTTPS over HTTP proxy properly Resent-From: David Engster Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, Magnus Henoch Resent-Date: Wed, 06 Apr 2016 18:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11788 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch fixed To: Lars Magne Ingebrigtsen Cc: schwab@linux-m68k.org, Tao Fang , ivan@siamics.net, 11788@debbugs.gnu.org Received: via spool by 11788-submit@debbugs.gnu.org id=B11788.145996569625409 (code B ref 11788); Wed, 06 Apr 2016 18:02:02 +0000 Received: (at 11788) by debbugs.gnu.org; 6 Apr 2016 18:01:36 +0000 Received: from localhost ([127.0.0.1]:52039 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1anrlo-0006bl-Ip for submit@debbugs.gnu.org; Wed, 06 Apr 2016 14:01:36 -0400 Received: from randomsample.de ([5.45.97.173]:53564) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1anrlm-0006bd-ET for 11788@debbugs.gnu.org; Wed, 06 Apr 2016 14:01:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=randomsample.de; s=a; h=Content-Type:MIME-Version:Message-ID:Date:References:In-Reply-To:Subject:Cc:To:From; bh=ior1dg5M6nQdv7htBAj1BPB7drIOLhIsvdNJWsK/c9Y=; b=SwKMC/b9xetp+dyVR9mz/MTBZSS8Wq58gtNxizjUUWNfHfsWV5hnwrkTIuzFfldLs9l4iEQgHWGQLIt/N738lOsgt9dbINn7uRtdv4clfakmtQ5LqhVey25XOnbSXwuh; Received: from ip4d168166.dynamic.kabel-deutschland.de ([77.22.129.102] helo=isaac) by randomsample.de with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1anrlj-0008Oe-ES; Wed, 06 Apr 2016 20:01:31 +0200 From: David Engster In-Reply-To: (Lars Magne Ingebrigtsen's message of "Wed, 06 Apr 2016 13:46:01 +0200") References: <87siua8hf1.fsf@violet.siamics.net> <87io998qjn.fsf@gmail.com> <87lh8iz041.fsf@gnus.org> <83k2o1k6z0.fsf@gnu.org> <8737uj7vzw.fsf@gmail.com> <83bn97dgo6.fsf@gnu.org> <87a8m8dafw.fsf@engster.org> <831t7krazs.fsf@gnu.org> <87d1qvwxo0.fsf@gmail.com> <8760wesf4w.fsf@gmail.com> <87r3ej4wwk.fsf@engster.org> User-Agent: Gnus/5.13001 (Ma Gnus v0.10) Emacs/25.0.50 (gnu/linux) Date: Wed, 06 Apr 2016 20:01:25 +0200 Message-ID: <87h9fe4nwq.fsf@engster.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -1.0 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Lars Magne Ingebrigtsen writes: > David Engster writes: > >> I think this fixes a pretty serious bug and should hence land in >> emacs-25. > > I've now backported it. I see you reverted it. I can understand your reasoning, but IMHO it is unacceptable that people are led to believe they communicate over https when in fact they don't. It is not uncommon that sites still accept credentials over http as well as https. At least let's properly fail when people try to use https over a proxy. -David From unknown Fri Aug 15 20:27:27 2025 X-Loop: help-debbugs@gnu.org Subject: bug#11788: [babc40c4] still fails to implement HTTPS over HTTP proxy properly Resent-From: John Wiegley Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, Magnus Henoch Resent-Date: Wed, 06 Apr 2016 18:10:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11788 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch fixed To: David Engster Cc: schwab@linux-m68k.org, Lars Magne Ingebrigtsen , Tao Fang , ivan@siamics.net, 11788@debbugs.gnu.org Received: via spool by 11788-submit@debbugs.gnu.org id=B11788.145996615326097 (code B ref 11788); Wed, 06 Apr 2016 18:10:01 +0000 Received: (at 11788) by debbugs.gnu.org; 6 Apr 2016 18:09:13 +0000 Received: from localhost ([127.0.0.1]:52048 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1anrtB-0006mr-G6 for submit@debbugs.gnu.org; Wed, 06 Apr 2016 14:09:13 -0400 Received: from mail-ob0-f175.google.com ([209.85.214.175]:33333) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1anrt9-0006mc-Qg for 11788@debbugs.gnu.org; Wed, 06 Apr 2016 14:09:12 -0400 Received: by mail-ob0-f175.google.com with SMTP id tz8so31192936obc.0 for <11788@debbugs.gnu.org>; Wed, 06 Apr 2016 11:09:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:in-reply-to:date:message-id:references :user-agent:mime-version; bh=HXpt9BTzP1fPlYsZ4haNTk+wzER9mt0p8Fyh9teoWxc=; b=AP3gdnTTFGsYvz4opKzCHrOb+LSrA1+jHsnCEy2IFlxtjBdzCQsCI1P21yuak7SRNc xlNAiwwUvU4kA98pwRZbRsju9mIzcCq/aqg0VszMQpQOxn5XYtK67NMq5JRg7OsmF7g/ Tfi7SIjH5LS/5+gAYNJMnlo2MC+QgH+u06gct5WuWnVyMQFK6K93xIJ2Vz8egLYl6+nV K1cZef4NoYIjK0wgiV2tF7xm8LYALrUnm9r68yIndqjWGnOh8Or+uNOnC/5zergo0QdE aC7K2KKp0rLaiVAGLoELs6FJu5TBEC0s3Ll1PsiZeDRu4Z06dQxrNTU+aklD7cV5skqA M7jw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:in-reply-to:date:message-id :references:user-agent:mime-version; bh=HXpt9BTzP1fPlYsZ4haNTk+wzER9mt0p8Fyh9teoWxc=; b=JXwCU9mQTtp9X+in2s7EKQ80bLXwhZEYXPKYR3Oah2gZ1Cz2GgQj7pPAxZCCUwNsZ7 c8cJXxUkkZFRI31eDsl9TEs0vVU6hwtVRmSf+gIQ3kLJqrKGU6LhXbVXUXbn7jMN2Z7f V4EQ+Ha2yyoRf8+AUf1JMRBxaWgse2vY8N5lKpKBBG6715cika6V2S6Y0rcl0vZxduJV 49RWx7tJZaeLLNnmgUC9i0plJCL78w+qVfqlvjswvDaT1HItT9Q1+EPY+woTyL25sgNi lbxUBwCi7QSsQ57nAEVoxZWoFGmdxMvgCuujA15zXmSFX04y5e9ccC93ZmZulKeFK59d 0tuA== X-Gm-Message-State: AD7BkJIqHqjYAQZ/41vaf2Sexh7VRs2XJmUwNt33W1ZQEWn3kD0U6ifkrllXMNOmO5hzCA== X-Received: by 10.60.161.5 with SMTP id xo5mr13019795oeb.76.1459966146137; Wed, 06 Apr 2016 11:09:06 -0700 (PDT) Received: from Vulcan.local (76-234-68-79.lightspeed.frokca.sbcglobal.net. [76.234.68.79]) by smtp.gmail.com with ESMTPSA id v191sm1125952oie.5.2016.04.06.11.09.05 (version=TLS1 cipher=AES128-SHA bits=128/128); Wed, 06 Apr 2016 11:09:05 -0700 (PDT) From: John Wiegley X-Google-Original-From: "John Wiegley" Received: by Vulcan.local (Postfix, from userid 501) id 6B24B13E9F5BD; Wed, 6 Apr 2016 11:09:04 -0700 (PDT) In-Reply-To: <87h9fe4nwq.fsf@engster.org> (David Engster's message of "Wed, 06 Apr 2016 20:01:25 +0200") Date: Wed, 06 Apr 2016 11:09:03 -0700 Message-ID: References: <87siua8hf1.fsf@violet.siamics.net> <87io998qjn.fsf@gmail.com> <87lh8iz041.fsf@gnus.org> <83k2o1k6z0.fsf@gnu.org> <8737uj7vzw.fsf@gmail.com> <83bn97dgo6.fsf@gnu.org> <87a8m8dafw.fsf@engster.org> <831t7krazs.fsf@gnu.org> <87d1qvwxo0.fsf@gmail.com> <8760wesf4w.fsf@gmail.com> <87r3ej4wwk.fsf@engster.org> <87h9fe4nwq.fsf@engster.org> User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.0.92 (darwin) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) >>>>> David Engster writes: > At least let's properly fail when people try to use https over a proxy. That sounds like a reasonable behavior for emacs-25, with the new support going to master. -- John Wiegley GPG fingerprint = 4710 CF98 AF9B 327B B80F http://newartisans.com 60E1 46C4 BD1A 7AC1 4BA2 From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 03 21:49:42 2016 Received: (at control) by debbugs.gnu.org; 4 Dec 2016 02:49:42 +0000 Received: from localhost ([127.0.0.1]:51761 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cDMs2-0004Js-AJ for submit@debbugs.gnu.org; Sat, 03 Dec 2016 21:49:42 -0500 Received: from eggs.gnu.org ([208.118.235.92]:56131) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cDMrz-0004JW-G1 for control@debbugs.gnu.org; Sat, 03 Dec 2016 21:49:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cDMrs-0001yx-95 for control@debbugs.gnu.org; Sat, 03 Dec 2016 21:49:34 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:53276) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cDMrs-0001yr-52 for control@debbugs.gnu.org; Sat, 03 Dec 2016 21:49:32 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1cDMrr-0005b2-Kh; Sat, 03 Dec 2016 21:49:31 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <22595.33851.293095.70553@gnu.org> Date: Sat, 3 Dec 2016 21:49:31 -0500 From: Glenn Morris To: control@debbugs.gnu.org Subject: Clean up predictable issues due to Emacs version number change X-Debbugs-No-Ack: yes X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -7.9 (-------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -7.9 (-------) # Ref: # http://lists.gnu.org/archive/html/emacs-devel/2016-11/msg00238.html # http://lists.gnu.org/archive/html/emacs-devel/2016-09/msg00692.html # http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg01215.html # Some attempt has been made to check for things backported after the fact. # Erring on the side of a later version number seems preferable anyway. unarchive 10 fixed 10 26.1 notfixed 10 25.2 unarchive 96 fixed 96 26.1 notfixed 96 25.2 unarchive 1149 fixed 1149 26.1 notfixed 1149 25.2 unarchive 1150 fixed 1150 26.1 notfixed 1150 25.2 unarchive 2270 fixed 2270 26.1 notfixed 2270 25.2 unarchive 2405 fixed 2405 26.1 notfixed 2405 25.2 unarchive 2589 fixed 2589 26.1 notfixed 2589 25.2 unarchive 3137 fixed 3137 26.1 notfixed 3137 25.2 unarchive 3393 fixed 3393 26.1 notfixed 3393 25.2 unarchive 4589 fixed 4589 26.1 notfixed 4589 25.2 unarchive 4920 fixed 4920 26.1 notfixed 4920 25.2 unarchive 5001 fixed 5001 26.1 notfixed 5001 25.2 unarchive 5262 fixed 5262 26.1 notfixed 5262 25.2 unarchive 5305 fixed 5305 26.1 notfixed 5305 25.2 unarchive 5314 fixed 5314 26.1 notfixed 5314 25.2 unarchive 5479 fixed 5479 26.1 notfixed 5479 25.2 unarchive 5650 fixed 5650 26.1 notfixed 5650 25.2 unarchive 5661 fixed 5661 26.1 notfixed 5661 25.2 unarchive 5727 fixed 5727 26.1 notfixed 5727 25.2 unarchive 6817 fixed 6817 26.1 notfixed 6817 25.2 unarchive 7385 fixed 7385 26.1 notfixed 7385 25.2 unarchive 7522 fixed 7522 26.1 notfixed 7522 25.2 unarchive 7751 fixed 7751 26.1 notfixed 7751 25.2 unarchive 8634 fixed 8634 26.1 notfixed 8634 25.2 unarchive 8693 fixed 8693 26.1 notfixed 8693 25.2 unarchive 8925 fixed 8925 26.1 notfixed 8925 25.2 unarchive 9342 fixed 9342 26.1 notfixed 9342 25.2 unarchive 9730 fixed 9730 26.1 notfixed 9730 25.2 unarchive 10487 fixed 10487 26.1 notfixed 10487 25.2 unarchive 10540 fixed 10540 26.1 notfixed 10540 25.2 unarchive 10723 fixed 10723 26.1 notfixed 10723 25.2 unarchive 10794 fixed 10794 26.1 notfixed 10794 25.2 unarchive 10980 fixed 10980 26.1 notfixed 10980 25.2 unarchive 11357 fixed 11357 26.1 notfixed 11357 25.2 unarchive 11400 fixed 11400 26.1 notfixed 11400 25.2 unarchive 11788 fixed 11788 26.1 notfixed 11788 25.2 unarchive 12048 fixed 12048 26.1 notfixed 12048 25.2 unarchive 12377 fixed 12377 26.1 notfixed 12377 25.2 unarchive 12378 fixed 12378 26.1 notfixed 12378 25.2 unarchive 12636 fixed 12636 26.1 notfixed 12636 25.2 unarchive 12939 fixed 12939 26.1 notfixed 12939 25.2 unarchive 13269 fixed 13269 26.1 notfixed 13269 25.2 unarchive 13571 fixed 13571 26.1 notfixed 13571 25.2 unarchive 13745 fixed 13745 26.1 notfixed 13745 25.2 unarchive 13949 fixed 13949 26.1 notfixed 13949 25.2 unarchive 14256 fixed 14256 26.1 notfixed 14256 25.2 unarchive 14341 fixed 14341 26.1 notfixed 14341 25.2 unarchive 14484 fixed 14484 26.1 notfixed 14484 25.2 unarchive 14554 fixed 14554 26.1 notfixed 14554 25.2 unarchive 14577 fixed 14577 26.1 notfixed 14577 25.2 unarchive 14687 fixed 14687 26.1 notfixed 14687 25.2 unarchive 14844 fixed 14844 26.1 notfixed 14844 25.2 unarchive 14854 fixed 14854 26.1 notfixed 14854 25.2 unarchive 14915 fixed 14915 26.1 notfixed 14915 25.2 unarchive 14919 fixed 14919 26.1 notfixed 14919 25.2 unarchive 15021 fixed 15021 26.1 notfixed 15021 25.2 unarchive 15047 fixed 15047 26.1 notfixed 15047 25.2 unarchive 15171 fixed 15171 26.1 notfixed 15171 25.2 unarchive 15324 fixed 15324 26.1 notfixed 15324 25.2 unarchive 15445 fixed 15445 26.1 notfixed 15445 25.2 unarchive 15506 fixed 15506 26.1 notfixed 15506 25.2 unarchive 15909 fixed 15909 26.1 notfixed 15909 25.2 unarchive 16136 fixed 16136 26.1 notfixed 16136 25.2 unarchive 16200 fixed 16200 26.1 notfixed 16200 25.2 unarchive 16276 fixed 16276 26.1 notfixed 16276 25.2 unarchive 16294 fixed 16294 26.1 notfixed 16294 25.2 unarchive 16345 fixed 16345 26.1 notfixed 16345 25.2 unarchive 16390 fixed 16390 26.1 notfixed 16390 25.2 unarchive 16406 fixed 16406 26.1 notfixed 16406 25.2 unarchive 16483 fixed 16483 26.1 notfixed 16483 25.2 unarchive 16513 fixed 16513 26.1 notfixed 16513 25.2 unarchive 16579 fixed 16579 26.1 notfixed 16579 25.2 unarchive 16746 fixed 16746 26.1 notfixed 16746 25.2 unarchive 16891 fixed 16891 26.1 notfixed 16891 25.2 unarchive 16904 fixed 16904 26.1 notfixed 16904 25.2 unarchive 17039 fixed 17039 26.1 notfixed 17039 25.2 unarchive 17067 fixed 17067 26.1 notfixed 17067 25.2 unarchive 17119 fixed 17119 26.1 notfixed 17119 25.2 unarchive 17582 fixed 17582 26.1 notfixed 17582 25.2 unarchive 17707 fixed 17707 26.1 notfixed 17707 25.2 unarchive 17716 fixed 17716 26.1 notfixed 17716 25.2 unarchive 17738 fixed 17738 26.1 notfixed 17738 25.2 unarchive 17989 fixed 17989 26.1 notfixed 17989 25.2 unarchive 17999 fixed 17999 26.1 notfixed 17999 25.2 unarchive 18008 fixed 18008 26.1 notfixed 18008 25.2 unarchive 18024 fixed 18024 26.1 notfixed 18024 25.2 unarchive 18026 fixed 18026 26.1 notfixed 18026 25.2 unarchive 18028 fixed 18028 26.1 notfixed 18028 25.2 unarchive 18089 fixed 18089 26.1 notfixed 18089 25.2 unarchive 18092 fixed 18092 26.1 notfixed 18092 25.2 unarchive 18110 fixed 18110 26.1 notfixed 18110 25.2 unarchive 18202 fixed 18202 26.1 notfixed 18202 25.2 unarchive 18203 fixed 18203 26.1 notfixed 18203 25.2 unarchive 18204 fixed 18204 26.1 notfixed 18204 25.2 unarchive 18211 fixed 18211 26.1 notfixed 18211 25.2 unarchive 18279 fixed 18279 26.1 notfixed 18279 25.2 unarchive 18527 fixed 18527 26.1 notfixed 18527 25.2 unarchive 18587 fixed 18587 26.1 notfixed 18587 25.2 unarchive 18634 fixed 18634 26.1 notfixed 18634 25.2 unarchive 18635 fixed 18635 26.1 notfixed 18635 25.2 unarchive 18686 fixed 18686 26.1 notfixed 18686 25.2 unarchive 18692 fixed 18692 26.1 notfixed 18692 25.2 unarchive 18809 fixed 18809 26.1 notfixed 18809 25.2 unarchive 18810 fixed 18810 26.1 notfixed 18810 25.2 unarchive 18829 fixed 18829 26.1 notfixed 18829 25.2 unarchive 19114 fixed 19114 26.1 notfixed 19114 25.2 unarchive 19152 fixed 19152 26.1 notfixed 19152 25.2 unarchive 19209 fixed 19209 26.1 notfixed 19209 25.2 unarchive 19214 fixed 19214 26.1 notfixed 19214 25.2 unarchive 19215 fixed 19215 26.1 notfixed 19215 25.2 unarchive 19255 fixed 19255 26.1 notfixed 19255 25.2 unarchive 19368 fixed 19368 26.1 notfixed 19368 25.2 unarchive 19424 fixed 19424 26.1 notfixed 19424 25.2 unarchive 19497 fixed 19497 26.1 notfixed 19497 25.2 unarchive 19587 fixed 19587 26.1 notfixed 19587 25.2 unarchive 19638 fixed 19638 26.1 notfixed 19638 25.2 unarchive 19722 fixed 19722 26.1 notfixed 19722 25.2 unarchive 19754 fixed 19754 26.1 notfixed 19754 25.2 unarchive 19801 fixed 19801 26.1 notfixed 19801 25.2 unarchive 19851 fixed 19851 26.1 notfixed 19851 25.2 unarchive 20038 fixed 20038 26.1 notfixed 20038 25.2 unarchive 20158 fixed 20158 26.1 notfixed 20158 25.2 unarchive 20181 fixed 20181 26.1 notfixed 20181 25.2 unarchive 20304 fixed 20304 26.1 notfixed 20304 25.2 unarchive 20408 fixed 20408 26.1 notfixed 20408 25.2 unarchive 20460 fixed 20460 26.1 notfixed 20460 25.2 unarchive 20485 fixed 20485 26.1 notfixed 20485 25.2 unarchive 20520 fixed 20520 26.1 notfixed 20520 25.2 unarchive 20654 fixed 20654 26.1 notfixed 20654 25.2 unarchive 20702 fixed 20702 26.1 notfixed 20702 25.2 unarchive 20724 fixed 20724 26.1 notfixed 20724 25.2 unarchive 20878 fixed 20878 26.1 notfixed 20878 25.2 unarchive 21002 fixed 21002 26.1 notfixed 21002 25.2 unarchive 21014 fixed 21014 26.1 notfixed 21014 25.2 unarchive 21024 fixed 21024 26.1 notfixed 21024 25.2 unarchive 21155 fixed 21155 26.1 notfixed 21155 25.2 unarchive 21169 fixed 21169 26.1 notfixed 21169 25.2 unarchive 21171 fixed 21171 26.1 notfixed 21171 25.2 unarchive 21225 fixed 21225 26.1 notfixed 21225 25.2 unarchive 21231 fixed 21231 26.1 notfixed 21231 25.2 unarchive 21252 fixed 21252 26.1 notfixed 21252 25.2 unarchive 21269 fixed 21269 26.1 notfixed 21269 25.2 unarchive 21359 fixed 21359 26.1 notfixed 21359 25.2 unarchive 21427 fixed 21427 26.1 notfixed 21427 25.2 unarchive 21552 fixed 21552 26.1 notfixed 21552 25.2 unarchive 21576 fixed 21576 26.1 notfixed 21576 25.2 unarchive 21577 fixed 21577 26.1 notfixed 21577 25.2 unarchive 21601 fixed 21601 26.1 notfixed 21601 25.2 unarchive 21678 fixed 21678 26.1 notfixed 21678 25.2 unarchive 21679 fixed 21679 26.1 notfixed 21679 25.2 unarchive 21684 fixed 21684 26.1 notfixed 21684 25.2 unarchive 21706 fixed 21706 26.1 notfixed 21706 25.2 unarchive 21759 fixed 21759 26.1 notfixed 21759 25.2 unarchive 21851 fixed 21851 26.1 notfixed 21851 25.2 unarchive 21852 fixed 21852 26.1 notfixed 21852 25.2 unarchive 21853 fixed 21853 26.1 notfixed 21853 25.2 unarchive 21881 fixed 21881 26.1 notfixed 21881 25.2 unarchive 21936 fixed 21936 26.1 notfixed 21936 25.2 unarchive 21962 fixed 21962 26.1 notfixed 21962 25.2 unarchive 22117 fixed 22117 26.1 notfixed 22117 25.2 unarchive 22140 fixed 22140 26.1 notfixed 22140 25.2 unarchive 22170 fixed 22170 26.1 notfixed 22170 25.2 unarchive 22172 fixed 22172 26.1 notfixed 22172 25.2 unarchive 22227 fixed 22227 26.1 notfixed 22227 25.2 unarchive 22315 fixed 22315 26.1 notfixed 22315 25.2 unarchive 22325 fixed 22325 26.1 notfixed 22325 25.2 unarchive 22329 fixed 22329 26.1 notfixed 22329 25.2 unarchive 22348 fixed 22348 26.1 notfixed 22348 25.2 unarchive 22478 fixed 22478 26.1 notfixed 22478 25.2 unarchive 22530 fixed 22530 26.1 notfixed 22530 25.2 unarchive 22531 fixed 22531 26.1 notfixed 22531 25.2 unarchive 22576 fixed 22576 26.1 notfixed 22576 25.2 unarchive 22583 fixed 22583 26.1 notfixed 22583 25.2 unarchive 22586 fixed 22586 26.1 notfixed 22586 25.2 unarchive 22592 fixed 22592 26.1 notfixed 22592 25.2 unarchive 22594 fixed 22594 26.1 notfixed 22594 25.2 unarchive 22595 fixed 22595 26.1 notfixed 22595 25.2 unarchive 22596 fixed 22596 26.1 notfixed 22596 25.2 unarchive 22627 fixed 22627 26.1 notfixed 22627 25.2 unarchive 22632 fixed 22632 26.1 notfixed 22632 25.2 unarchive 22648 fixed 22648 26.1 notfixed 22648 25.2 unarchive 22664 fixed 22664 26.1 notfixed 22664 25.2 unarchive 22720 fixed 22720 26.1 notfixed 22720 25.2 unarchive 22724 fixed 22724 26.1 notfixed 22724 25.2 unarchive 22764 fixed 22764 26.1 notfixed 22764 25.2 unarchive 22799 fixed 22799 26.1 notfixed 22799 25.2 unarchive 22800 fixed 22800 26.1 notfixed 22800 25.2 unarchive 22814 fixed 22814 26.1 notfixed 22814 25.2 unarchive 22824 fixed 22824 26.1 notfixed 22824 25.2 unarchive 22827 fixed 22827 26.1 notfixed 22827 25.2 unarchive 22837 fixed 22837 26.1 notfixed 22837 25.2 unarchive 22841 fixed 22841 26.1 notfixed 22841 25.2 unarchive 22890 fixed 22890 26.1 notfixed 22890 25.2 unarchive 22928 fixed 22928 26.1 notfixed 22928 25.2 unarchive 22940 fixed 22940 26.1 notfixed 22940 25.2 unarchive 22964 fixed 22964 26.1 notfixed 22964 25.2 unarchive 22968 fixed 22968 26.1 notfixed 22968 25.2 unarchive 23020 fixed 23020 26.1 notfixed 23020 25.2 unarchive 23071 fixed 23071 26.1 notfixed 23071 25.2 unarchive 23116 fixed 23116 26.1 notfixed 23116 25.2 unarchive 23139 fixed 23139 26.1 notfixed 23139 25.2 unarchive 23159 fixed 23159 26.1 notfixed 23159 25.2 unarchive 23167 fixed 23167 26.1 notfixed 23167 25.2 unarchive 23262 fixed 23262 26.1 notfixed 23262 25.2 unarchive 23290 fixed 23290 26.1 notfixed 23290 25.2 unarchive 23374 fixed 23374 26.1 notfixed 23374 25.2 unarchive 23390 fixed 23390 26.1 notfixed 23390 25.2 unarchive 23401 fixed 23401 26.1 notfixed 23401 25.2 unarchive 23411 fixed 23411 26.1 notfixed 23411 25.2 unarchive 23459 fixed 23459 26.1 notfixed 23459 25.2 unarchive 23608 fixed 23608 26.1 notfixed 23608 25.2 unarchive 23703 fixed 23703 26.1 notfixed 23703 25.2 unarchive 23730 fixed 23730 26.1 notfixed 23730 25.2 unarchive 23829 fixed 23829 26.1 notfixed 23829 25.2 unarchive 23850 fixed 23850 26.1 notfixed 23850 25.2 unarchive 23863 fixed 23863 26.1 notfixed 23863 25.2 unarchive 23883 fixed 23883 26.1 notfixed 23883 25.2 unarchive 23914 fixed 23914 26.1 notfixed 23914 25.2 unarchive 23949 fixed 23949 26.1 notfixed 23949 25.2 unarchive 23998 fixed 23998 26.1 notfixed 23998 25.2 unarchive 24122 fixed 24122 26.1 notfixed 24122 25.2 unarchive 24133 fixed 24133 26.1 notfixed 24133 25.2 unarchive 24166 fixed 24166 26.1 notfixed 24166 25.2 unarchive 24257 fixed 24257 26.1 notfixed 24257 25.2 unarchive 24308 fixed 24308 26.1 notfixed 24308 25.2 unarchive 24432 fixed 24432 26.1 notfixed 24432 25.2