From: Christian Couder Date: Tue, 07 Apr 2026 12:02:01 GMT Subject: Re: [PATCH 10/10] t5710: use proper file:// URIs for absolute paths Message-ID: In-Reply-To: On Fri, Apr 3, 2026 at 10:16 AM Christian Couder wrote: > # Allowed characters: alphanumeric, standard path/URI (_ . ~ / : -), > and those percent-encoded below (% space = ; ,) > case "$pwd_path" in > *[!a-zA-Z0-9_.~/:%\ =,;-]*) > skip_all="PWD contains unsupported special characters" > test_done > ;; > esac It turned out that dash and perhaps other shells don't support a space character in a case bracket expressions, so I used the following instead: # Allowed characters: alphanumeric, standard path/URI (_ . ~ / : -), # and those percent-encoded below (% space = , ;) rest=$(printf "%s" "$pwd_path" | tr -d 'a-zA-Z0-9_.~/:% =,;-') if test -n "$rest" then skip_all="PWD contains unsupported special characters" test_done fi