From: Paul Hänsch Date: Sun, 14 Jan 2024 21:20:45 +0000 (+0100) Subject: Fix broken range requests when running in dash X-Git-Url: https://git.plutz.net/?a=commitdiff_plain;h=3a4544b251d7ca6192b3ff7c635a0f1f2efe8285;p=cgilite Fix broken range requests when running in dash --- 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="" ;; *-)