mirror of
https://github.com/Caraxi/mare.server.git
synced 2025-12-12 20:57:22 +01:00
fix regex for a folders that are single numbers (why is this a thing SE)
This commit is contained in:
parent
af537ab67c
commit
182240bc16
1 changed files with 1 additions and 1 deletions
|
|
@ -121,7 +121,7 @@ public partial class MareHub
|
|||
[GeneratedRegex(@"^[A-Z0-9]{40}$", RegexOptions.IgnoreCase | RegexOptions.Compiled | RegexOptions.ECMAScript)]
|
||||
private static partial Regex HashRegex();
|
||||
|
||||
[GeneratedRegex(@"^([a-z0-9_ '+&,\.-]{2,}\/)+([a-z0-9_ '+&,\.-]+\.[a-z]{3,4})$", RegexOptions.IgnoreCase | RegexOptions.Compiled | RegexOptions.ECMAScript)]
|
||||
[GeneratedRegex(@"^([a-z0-9_ '+&,\.-]+\/)+([a-z0-9_ '+&,\.-]+\.[a-z]{3,4})$", RegexOptions.IgnoreCase | RegexOptions.Compiled | RegexOptions.ECMAScript)]
|
||||
private static partial Regex GamePathRegex();
|
||||
|
||||
[Authorize(Policy = "Identified")]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue