From 3a4544b251d7ca6192b3ff7c635a0f1f2efe8285 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Paul=20H=C3=A4nsch?= Date: Sun, 14 Jan 2024 22:20:45 +0100 Subject: [PATCH] Fix broken range requests when running in dash --- file.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/file.sh b/file.sh index 20990d3..8d810b5 100755 --- a/file.sh +++ b/file.sh @@ -83,7 +83,7 @@ FILE(){ range="${HTTP_RANGE#bytes=}" case "$range" in - *[^0-9]*-*|*-*[^0-9]*) + *[!0-9]*-*|*-*[!0-9]*) range="" ;; *-) -- 2.39.2