From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: "tenspd137 ." Newsgroups: gmane.emacs.bugs Subject: bug#35969: 26.2, Excorporate Date: Mon, 17 Jun 2019 10:31:40 -0600 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="252071"; mail-complaints-to="usenet@blaine.gmane.org" Cc: Thomas Fitzsimmons , 35969@debbugs.gnu.org To: Andreas Schwab Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jun 17 18:54:07 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hcutS-0013Rq-Vk for geb-bug-gnu-emacs@m.gmane.org; Mon, 17 Jun 2019 18:54:07 +0200 Original-Received: from localhost ([::1]:49550 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hcutR-0007ym-Vb for geb-bug-gnu-emacs@m.gmane.org; Mon, 17 Jun 2019 12:54:05 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52933) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hcuYB-0004u5-Ec for bug-gnu-emacs@gnu.org; Mon, 17 Jun 2019 12:32:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hcuY9-0003L8-OD for bug-gnu-emacs@gnu.org; Mon, 17 Jun 2019 12:32:07 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:57889) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hcuY6-0003JJ-Hu for bug-gnu-emacs@gnu.org; Mon, 17 Jun 2019 12:32:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hcuY6-0004EV-D7 for bug-gnu-emacs@gnu.org; Mon, 17 Jun 2019 12:32:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "tenspd137 ." Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 17 Jun 2019 16:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35969 X-GNU-PR-Package: emacs Original-Received: via spool by 35969-submit@debbugs.gnu.org id=B35969.156078911916261 (code B ref 35969); Mon, 17 Jun 2019 16:32:02 +0000 Original-Received: (at 35969) by debbugs.gnu.org; 17 Jun 2019 16:31:59 +0000 Original-Received: from localhost ([127.0.0.1]:43200 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hcuY2-0004ED-Ru for submit@debbugs.gnu.org; Mon, 17 Jun 2019 12:31:59 -0400 Original-Received: from mail-wr1-f66.google.com ([209.85.221.66]:42166) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hcuY1-0004Dv-ND for 35969@debbugs.gnu.org; Mon, 17 Jun 2019 12:31:58 -0400 Original-Received: by mail-wr1-f66.google.com with SMTP id x17so10677386wrl.9 for <35969@debbugs.gnu.org>; Mon, 17 Jun 2019 09:31:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Ivpo6xoxx6VQ6647gHAu6Y/E6dM+u7Dexu6taWyc+qs=; b=H6WWXhPH24AhelhdlAAq4yJUNWATpQ+ZTtRkjcRpWxHntEbLgMgPBfSYnxRYwb32cs FzY8nAbIDBoGe01RTTE6CEutZFyQSV9rsT6CIe3VNXqsMv8GaG0R8Kf8oYyZpBCov7GR dCSqeJIdvYhrOzz5WsnJGDEU5PDoZbT38rfOVeQyzsn85KrRa72dV8T/JueyBM519uWZ 8ZqcQnMP2UWSfCybsvrjrMnS++WljOEtgXexrOX6souQdNPtEnGRQoLolX76MeD0byVl 9HBj72XJxjoJNXi5prbYQNYwwVOXN/lSre3HTsnEVZKogVXmUKFawZ8YLUZlNBVTTAWz GX8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Ivpo6xoxx6VQ6647gHAu6Y/E6dM+u7Dexu6taWyc+qs=; b=T+Ssgq3QfsvXTuI3YiiwqPbHMs8eULf8unrvjpyzwsHxSSpdJ99wrFVIXQd6W69noj 1gt8GylZiKqzB6nnKQ4q67lZVfZo18oJUQurQHM2g4YbQUvno4PLYjxpR0Wi57rTjzwT sONvtV6TJyGzAAO2Rg5NMPndArxwcwYnRQZgHw2vEkI7QGJUTIrnT0/xK0vZ7KK2G2NO kt33834cP6Y3/M9qaixxumRA7xtRxxSrgqns3Rkb8j05ndWDGwTXJTDn0KBo7/MQd8q0 aXI93i64v2Hcmc+wsF5XkBq0IqoGLNJa2Bo3dNMmisCOVfG3tYKRi/Na37mQA3g0CoyR jaqg== X-Gm-Message-State: APjAAAWnY040LNSDwIJtnoTIMcck8rAW25WykPsg7UxRioO/luSSg3Wh 700lki//405y1HNqgtGtyD0cJMJPM2/Zq3xQSjQ= X-Google-Smtp-Source: APXvYqwhY5wV96b4GRmJjvIru2ryHhjD1e6R74GMIW6eUzgSmidrjOUi4ya3mv2Nvo/citmjlTSlXWNkqdbcoeN+0qk= X-Received: by 2002:a5d:4708:: with SMTP id y8mr12677181wrq.85.1560789111578; Mon, 17 Jun 2019 09:31:51 -0700 (PDT) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:160738 Archived-At: The patch Thomas seems to work from behind the proxy. My current emacs version is 26.2, so I would think it would include the commit Andreas is talking about.... I went and looked it up - is this the correct commit? diff --git a/lisp/url/url-http.el b/lisp/url/url-http.el index 53798f7..817c5ce 100644 --- a/lisp/url/url-http.el +++ b/lisp/url/url-http.el @@ -1412,7 +1412,9 @@ The return value of this function is the retrieval buffer." '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))) + ;; Use the non-proxy form of the request + (let (url-http-proxy) + (url-http-create-request)))) (gnutls-error (url-http-activate-callback) (error "gnutls-error: %s" e)) Thanks! -C On Sat, Jun 15, 2019 at 1:41 AM Andreas Schwab wrote: > > On Jun 14 2019, Thomas Fitzsimmons wrote: > > > diff --git a/lisp/url/url-http.el b/lisp/url/url-http.el > > index 00803a103a..723d111d58 100644 > > --- a/lisp/url/url-http.el > > +++ b/lisp/url/url-http.el > > @@ -329,7 +329,10 @@ url-http-create-request > > ;; The request > > (or url-http-method "GET") " " > > (url-http--encode-string > > - (if using-proxy (url-recreate-url url-http-target-url) real-fname)) > > + (if (and using-proxy > > + (not (equal "https" (url-type url-http-target-url)))) > > + (url-recreate-url url-http-target-url) > > + real-fname)) > > That should already be handled by commit 84613dae5c. > > Andreas. > > -- > Andreas Schwab, schwab@linux-m68k.org > GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 > "And now for something completely different."