mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-04 10:19:23 +02:00
GP-3121 allow Ghidra Server usernames to start with a numeric digit
This commit is contained in:
parent
6f80f8bd3c
commit
dd5bd32aad
1 changed files with 1 additions and 1 deletions
|
@ -752,7 +752,7 @@ public class UserManager {
|
|||
* Regex: matches if the entire string is alpha, digit, ".", "-", "_", fwd or back slash.
|
||||
*/
|
||||
private static final Pattern VALID_USERNAME_REGEX =
|
||||
Pattern.compile("[a-zA-Z][a-zA-Z0-9.\\-_/\\\\]*");
|
||||
Pattern.compile("[a-zA-Z0-9][a-zA-Z0-9.\\-_/\\\\]*");
|
||||
|
||||
/**
|
||||
* Ensures a name only contains valid characters and meets length limitations.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue