mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-18 20:14:42 +00:00
remove ~ from forbidden characters in git URLs
This commit is contained in:
1 parent
96b3e269c5
commit
c0ffda37f2
1 file changed
+1
-1
@@ -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
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user