remove ~ from forbidden characters in git URLs

This commit is contained in:
Dominic authored and GitHub committed 2025-08-31 22:32:30 -04:00
1 parent 96b3e269c5
commit c0ffda37f2
1 file changed
+1 -1
+1 -1
View File
@@ -31,7 +31,7 @@ class ValidGitRepositoryUrl implements ValidationRule
$dangerousChars = [ $dangerousChars = [
';', '|', '&', '$', '`', '(', ')', '{', '}', ';', '|', '&', '$', '`', '(', ')', '{', '}',
'[', ']', '<', '>', '\n', '\r', '\0', '"', "'", '[', ']', '<', '>', '\n', '\r', '\0', '"', "'",
'\\', '!', '?', '*', '~', '^', '%', '=', '+', '\\', '!', '?', '*', '^', '%', '=', '+',
'#', // Comment character that could hide commands '#', // Comment character that could hide commands
]; ];