remove ~ from forbidden characters in git URLs
This commit is contained in:
@@ -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