From b69893f48b85d1b973bece93d05ab9bb19338f34 Mon Sep 17 00:00:00 2001 From: Martin Wimpress Date: Sun, 28 Apr 2024 03:01:40 +0100 Subject: [PATCH] fix: do not check for redirects in web_check(). close #1108 --- quickget | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/quickget b/quickget index 45632ad..4d3ad12 100755 --- a/quickget +++ b/quickget @@ -1296,8 +1296,7 @@ function web_redirect() { # checks if a URL is reachable function web_check() { local HEADERS=() - local URL="" - URL=$(web_redirect "${1}") + local URL="${1}" # Process any headers while (( "$#" )); do if [ "${1}" == "--header" ]; then