From caa364e0edf4c88af340eba87f17486a59f023df Mon Sep 17 00:00:00 2001 From: bol-van Date: Thu, 6 Nov 2025 22:14:47 +0300 Subject: [PATCH] blockcheck: fix doh resolve failure if spaces in the path --- blockcheck.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blockcheck.sh b/blockcheck.sh index 66802d88..8bea6c5d 100755 --- a/blockcheck.sh +++ b/blockcheck.sh @@ -219,7 +219,7 @@ doh_resolve() # $1 - ip version 4/6 # $2 - hostname # $3 - doh server URL. use $DOH_SERVER if empty - $MDIG --family=$1 --dns-make-query=$2 | $CURL --max-time $CURL_MAX_TIME_DOH -s --data-binary @- -H "Content-Type: application/dns-message" "${3:-$DOH_SERVER}" | $MDIG --dns-parse-query + "$MDIG" --family=$1 --dns-make-query=$2 | $CURL --max-time $CURL_MAX_TIME_DOH -s --data-binary @- -H "Content-Type: application/dns-message" "${3:-$DOH_SERVER}" | "$MDIG" --dns-parse-query } doh_find_working() {