diff options
| author | Bond-009 <bond.009@outlook.com> | 2023-10-17 14:31:35 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-10-17 14:31:35 +0200 |
| commit | 84bbf757fa5fdf9fef45d9a61e686941e6901ba0 (patch) | |
| tree | 8f02206fad8df92ffd7a5141690e0c960c9615d5 /Jellyfin.Server.Implementations/Users | |
| parent | 59ac5481288bb75b5768d1286038b5c2d3844c78 (diff) | |
| parent | 38d962242ad0b4d3cf10b175836bf1e5e9b60d39 (diff) | |
Merge pull request #10366 from goremykin/fix-resharper-warnings
Diffstat (limited to 'Jellyfin.Server.Implementations/Users')
| -rw-r--r-- | Jellyfin.Server.Implementations/Users/UserManager.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Server.Implementations/Users/UserManager.cs b/Jellyfin.Server.Implementations/Users/UserManager.cs index 7e56e4c9e..b2cb589f7 100644 --- a/Jellyfin.Server.Implementations/Users/UserManager.cs +++ b/Jellyfin.Server.Implementations/Users/UserManager.cs @@ -108,7 +108,7 @@ namespace Jellyfin.Server.Implementations.Users // This is some regex that matches only on unicode "word" characters, as well as -, _ and @ // In theory this will cut out most if not all 'control' characters which should help minimize any weirdness // Usernames can contain letters (a-z + whatever else unicode is cool with), numbers (0-9), at-signs (@), dashes (-), underscores (_), apostrophes ('), periods (.) and spaces ( ) - [GeneratedRegex("^[\\w\\ \\-'._@]+$")] + [GeneratedRegex(@"^[\w\ \-'._@]+$")] private static partial Regex ValidUsernameRegex(); /// <inheritdoc/> |
