]> git.plutz.net Git - shellwiki/blobdiff - cgilite/file.sh
Merge commit '2698a4e790f36ad134e5c71266dfae692b3cc1ec'
[shellwiki] / cgilite / file.sh
index 20990d36474492f700dd5fc60bafc5dbf12f548b..c66b17d865db7f74573e0f1e5b2721044945970a 100755 (executable)
@@ -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=""
       ;;
     *-)