From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 11 08:44:13 2022 Received: (at 54836) by debbugs.gnu.org; 11 Apr 2022 12:44:13 +0000 Received: from localhost ([127.0.0.1]:43025 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndtOu-0003MB-OA for submit@debbugs.gnu.org; Mon, 11 Apr 2022 08:44:12 -0400 Received: from eggs.gnu.org ([209.51.188.92]:37938) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndtOt-0003Lw-4B for 54836@debbugs.gnu.org; Mon, 11 Apr 2022 08:44:11 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:36630) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ndtOm-000849-VR; Mon, 11 Apr 2022 08:44:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=fwtEFv1c/Naw7OfxjGioV7ltzTaPa/mgMgIWo0JL9S4=; b=IHapZ4FZyJEo0NAJ9jG7 lEQNisl/naGs1P5rbMr3qSyZXhsy9bqhgcZMwpqy8DX6EWhhWkNxJhZw3G7OPfx7I9YPHdccIyKU9 r199MPdLdemy4L0Q6woaVso7tg8oW8pMxE565K9dL1YsWl5LitFottXc7St/hsw/bUNF+JbQe2l4p 4/l3bioCa6WidHYMTeW8XkFhKDN1NNtDg712wNWDq7tU9VmbTQDMxwCrIobK2F9dEpkg3w7+8A6eM ZfhUbhy3UIoVlzCk60yn6EkQTrOv3nWUbk/jC+BFqUAWfSMt1y6yc859oaJ8PTwrF5bS4Cb0pQW3G L51yBtEjwaABEw==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:57962 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ndtOm-0000cs-4o; Mon, 11 Apr 2022 08:44:04 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Attila Lendvai Subject: Re: bug#54836: [PATCH 1/2] http-client: Fix redirection. References: <20220410134114.371-1-attila@lendvai.name> <20220410134114.371-2-attila@lendvai.name> Date: Mon, 11 Apr 2022 14:44:02 +0200 In-Reply-To: <20220410134114.371-2-attila@lendvai.name> (Attila Lendvai's message of "Sun, 10 Apr 2022 15:41:14 +0200") Message-ID: <87zgkriyct.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 54836 Cc: 54836@debbugs.gnu.org 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: -3.3 (---) Hi, Attila Lendvai skribis: > * guix/http-client.scm (http-fetch): Use the right uri variable in case of > redirection. > --- > guix/http-client.scm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/guix/http-client.scm b/guix/http-client.scm > index 8a5b3deecd..b8689a22ed 100644 > --- a/guix/http-client.scm > +++ b/guix/http-client.scm > @@ -148,7 +148,7 @@ (define uri* > (or (not (uri-host uri)) > (string=3D? host (uri-host uri))) > port) > - (open-connection uri* > + (open-connection uri Good catch! This fixes . Applied. Ludo=E2=80=99.