X-Git-Url: https://git.plutz.net/?p=cgilite;a=blobdiff_plain;f=file.sh;h=6f956dfeb5989a6b2542534d78134bc4633217de;hp=20990d36474492f700dd5fc60bafc5dbf12f548b;hb=HEAD;hpb=3055b170b4be8a5a0939a0394ef470b90208e7ff diff --git a/file.sh b/file.sh index 20990d3..c66b17d 100755 --- a/file.sh +++ b/file.sh @@ -1,6 +1,6 @@ #!/bin/sh -# Copyright 2016 - 2023 Paul Hänsch +# Copyright 2016 - 2024 Paul Hänsch # # Permission to use, copy, modify, and/or distribute this software for any # purpose with or without fee is hereby granted, provided that the above @@ -83,7 +83,7 @@ FILE(){ range="${HTTP_RANGE#bytes=}" case "$range" in - *[^0-9]*-*|*-*[^0-9]*) + *[!0-9]*-*|*-*[!0-9]*) range="" ;; *-)