mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-10 15:35:49 +01:00
fix regexp for user and group name
This commit is contained in:
@@ -9,6 +9,6 @@ public final class ValidationConstraints {
|
||||
* and it not contains whitespaces
|
||||
* and the characters: . - _ @ are allowed
|
||||
*/
|
||||
public static final String USER_GROUP_PATTERN = "^[^@\\s][A-z0-9\\.\\-_@]+$";
|
||||
public static final String USER_GROUP_PATTERN = "^[^@\\s][A-Za-z0-9\\.\\-_@]+$";
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user