guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/08: http-client: Fix redirection.


From: guix-commits
Subject: 01/08: http-client: Fix redirection.
Date: Mon, 11 Apr 2022 09:51:01 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 2c73e654fe1b39f8cec6082a068a435ca2b7cfd1
Author: Attila Lendvai <attila@lendvai.name>
AuthorDate: Sun Apr 10 15:41:14 2022 +0200

    http-client: Fix redirection.
    
    * guix/http-client.scm (http-fetch): Use the right uri variable in case of
    redirection.
    
    Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
 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 143ed6de31..a367c41afa 100644
--- a/guix/http-client.scm
+++ b/guix/http-client.scm
@@ -145,7 +145,7 @@ Raise an '&http-get-error' condition if downloading fails."
                             (or (not (uri-host uri))
                                 (string=? host (uri-host uri)))
                             port)
-                       (open-connection uri*
+                       (open-connection uri
                                         #:verify-certificate?
                                         verify-certificate?
                                         #:timeout timeout)))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]