remove ~ from forbidden characters in git URLs

This commit is contained in:
Dominic 2025-08-31 22:32:30 -04:00 committed by GitHub
parent 96b3e269c5
commit c0ffda37f2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -31,7 +31,7 @@ public function validate(string $attribute, mixed $value, Closure $fail): void
$dangerousChars = [ $dangerousChars = [
';', '|', '&', '$', '`', '(', ')', '{', '}', ';', '|', '&', '$', '`', '(', ')', '{', '}',
'[', ']', '<', '>', '\n', '\r', '\0', '"', "'", '[', ']', '<', '>', '\n', '\r', '\0', '"', "'",
'\\', '!', '?', '*', '~', '^', '%', '=', '+', '\\', '!', '?', '*', '^', '%', '=', '+',
'#', // Comment character that could hide commands '#', // Comment character that could hide commands
]; ];