#!/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
range="${HTTP_RANGE#bytes=}"
case "$range" in
- *[^0-9]*-*|*-*[^0-9]*)
+ *[!0-9]*-*|*-*[!0-9]*)
range=""
;;
*-)