From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Thomas Fitzsimmons Newsgroups: gmane.emacs.bugs Subject: bug#43566: 27.1; url-http and excorporate does not authenticate Date: Fri, 19 Feb 2021 17:26:28 -0500 Message-ID: References: <87tuvqxdl8.fsf@menzobaran.matesco.unican.es> <874knnw66a.fsf@gnus.org> <877dsi9jd1.fsf@menzobaran.matesco.unican.es> <87v9g2ozh1.fsf@gnus.org> <878sabdqky.fsf@gnus.org> <87ft2grxde.fsf@gnus.org> <874ki8utlj.fsf@gnus.org> <874ki8rtkr.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6403"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1.90 (gnu/linux) Cc: William Xu , Jeffrey Haug , 43566-done@debbugs.gnu.org, Domingo =?UTF-8?Q?G=C3=B3mez_?= =?UTF-8?Q?P=C3=A9rez?= To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Feb 19 23:27:17 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lDEF3-0001Y8-6h for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 19 Feb 2021 23:27:17 +0100 Original-Received: from localhost ([::1]:50204 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lDEF1-0006Ey-Ue for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 19 Feb 2021 17:27:15 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47774) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lDEEp-0006EJ-ID for bug-gnu-emacs@gnu.org; Fri, 19 Feb 2021 17:27:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39028) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lDEEo-0008GG-O8 for bug-gnu-emacs@gnu.org; Fri, 19 Feb 2021 17:27:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lDEEo-0008SH-K2 for bug-gnu-emacs@gnu.org; Fri, 19 Feb 2021 17:27:02 -0500 Resent-From: Thomas Fitzsimmons Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Fri, 19 Feb 2021 22:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 43566 X-GNU-PR-Package: emacs Mail-Followup-To: 43566@debbugs.gnu.org, fitzsim@fitzsim.org, domingo.gomez@unican.es Original-Received: via spool by 43566-done@debbugs.gnu.org id=D43566.161377360032469 (code D ref 43566); Fri, 19 Feb 2021 22:27:02 +0000 Original-Received: (at 43566-done) by debbugs.gnu.org; 19 Feb 2021 22:26:40 +0000 Original-Received: from localhost ([127.0.0.1]:50574 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lDEES-0008Rd-1A for submit@debbugs.gnu.org; Fri, 19 Feb 2021 17:26:40 -0500 Original-Received: from mail-qv1-f49.google.com ([209.85.219.49]:38199) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lDEEN-0008RM-6v for 43566-done@debbugs.gnu.org; Fri, 19 Feb 2021 17:26:38 -0500 Original-Received: by mail-qv1-f49.google.com with SMTP id p12so3389171qvv.5 for <43566-done@debbugs.gnu.org>; Fri, 19 Feb 2021 14:26:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fitzsim-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=SQV3cN+8h2010VJre4pknjuliVVBvN0kCJY/oRmmR+I=; b=ywPZy/1Q0zw1rk0F8vr4CJwKPsC2NgR4ViAIfIu4cmWJT+i+sVJenhZIduqJ+u6UfK nY7MkFoet+bQEEKrokhzlj8zC83CYknlPbUcRZCpIqHSyHFf/+CYxSywEdZoes61lKRH 9wiLxUaetsnnLioIGm+QueguJyL7L4k5ZS4TEdCAzMMgjbdNNliEHHYZj4lVu164Y97t HnSbiWC2Cec+4D4CW8Q+slgkniGBweqC4HCPw579sYLWjfV71Ld06n28i/R136k+Fpr+ 0VvuagoJNglMqj10jxSyFrMByZMveMAJvbAWFQUOXHR7cYDHPHlcPKsTwIu/wS87MG3u c9cA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=SQV3cN+8h2010VJre4pknjuliVVBvN0kCJY/oRmmR+I=; b=s8Jn/NTT2lnwDj+2zSDK5tKFNENbPHC2jWh3Do22ngB24DTayAwtVquLk/fAVnig5l 0utXJbVKjuIPR7cRrF76Xq0BDUQb+oHcJyO+Fl/fTWdrPwblQ3AMqLpmDUrsnNKx/I3m 4uqyfK65k5jMwwzIBwg6MTL/Bl44FjMDRGedqyMcqSlqPP+antyRfGlz216NGebrkKPS Pej6d1Iu1y4dnj7dr3EfQIREqYHLH/vG5jTG1h5ZW1q4AGALiv6Nt0OXIDlF8WQMHTBb kcLeZKt0dELZBeFZ3gZjWl4T7ddmcLbEFjL4R9HV4VcI9OyHgjp0J5LyVusU8OksZIJO mrdQ== X-Gm-Message-State: AOAM532tRvVp9wTVZdBpR9iXqsGvoaz9WwsTqkeavntqhoLgECWQ5UDw IYLKeVMlUOwNYcxf+o5pcvT/9A== X-Google-Smtp-Source: ABdhPJwxR7c7BPX69MSeG2nzS0NKNwUVRrWjhpRGi5clykCZkdsMv9A2LvqWuIRFMkl+72Vbw4XrQA== X-Received: by 2002:a05:6214:f6d:: with SMTP id iy13mr11619957qvb.24.1613773589745; Fri, 19 Feb 2021 14:26:29 -0800 (PST) Original-Received: from localhost.localdomain (69-165-165-189.dsl.teksavvy.com. [69.165.165.189]) by smtp.gmail.com with ESMTPSA id 82sm7532036qkd.48.2021.02.19.14.26.28 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 19 Feb 2021 14:26:29 -0800 (PST) In-Reply-To: (Thomas Fitzsimmons's message of "Fri, 19 Feb 2021 11:35:20 -0500") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:200389 Archived-At: Thomas Fitzsimmons writes: > Lars Ingebrigtsen writes: > >> Thomas Fitzsimmons writes: >> >>> The tests will fail if web-server.el is present but out-of-date, which I >>> think is unavoidable. But... >> >> Would it be possible to check the web-server.el version to make this >> more robust? > > Michael also asked about this on emacs-devel. I looked but I can't see > a simple way to do it. package.el functionality isn't available in this > context. Michael wanted a general approach to requiring specific GNU ELPA package versions; he suggested an implementation which I adapted and pushed to master. You can try it by alternating between revisions a1c767fe56acfed6627682fadc337203f3b8678c and 4edcba28826869b07f622fd83f6aab96fd8e4d19 of web-server.el and confirming that for the former commit the tests are skipped and for the latter, they're run. I also tested how url-retrieve-synchronously behaves with NTLM authentication when the authinfo password is wrong. It doesn't infinite-loop -- it tries once with the authinfo credentials and if they fail, it prompts the user for a username and password. Therefore, the patch that caused the regression isn't needed for NTLM and the workaround patch I pushed is fine as-is. I'm marking this bug done. Thanks, Thomas