adjust regex for vfx bullshit

This commit is contained in:
rootdarkarchon
2022-11-10 14:58:37 +01:00
parent 6a62dcc069
commit af537ab67c

View File

@@ -121,7 +121,7 @@ public partial class MareHub
[GeneratedRegex(@"^[A-Z0-9]{40}$", RegexOptions.IgnoreCase | RegexOptions.Compiled | RegexOptions.ECMAScript)] [GeneratedRegex(@"^[A-Z0-9]{40}$", RegexOptions.IgnoreCase | RegexOptions.Compiled | RegexOptions.ECMAScript)]
private static partial Regex HashRegex(); private static partial Regex HashRegex();
[GeneratedRegex(@"^([a-z0-9_ '+&,\.-]{3,}\/)+([a-z0-9_ '+&,\.-]+\.[a-z]{3,4})$", RegexOptions.IgnoreCase | RegexOptions.Compiled | RegexOptions.ECMAScript)] [GeneratedRegex(@"^([a-z0-9_ '+&,\.-]{2,}\/)+([a-z0-9_ '+&,\.-]+\.[a-z]{3,4})$", RegexOptions.IgnoreCase | RegexOptions.Compiled | RegexOptions.ECMAScript)]
private static partial Regex GamePathRegex(); private static partial Regex GamePathRegex();
[Authorize(Policy = "Identified")] [Authorize(Policy = "Identified")]