Update src/Sonarr.Http/Authentication/AuthenticationBuilderExtensions.cs

Co-authored-by: Bogdan <mynameisbogdan@users.noreply.github.com>
This commit is contained in:
Mark McDowall 2024-09-20 09:31:52 -04:00 committed by GitHub
parent 9428daa7e4
commit 74f0216bb7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ namespace Sonarr.Http.Authentication
{
public static class AuthenticationBuilderExtensions
{
private static readonly Regex CookieNameRegex = new Regex(@"[^a-z0-9]", RegexOptions.Compiled | RegexOptions.IgnoreCase);
private static readonly Regex CookieNameRegex = new Regex(@"[^a-z0-9]+", RegexOptions.Compiled | RegexOptions.IgnoreCase);
public static AuthenticationBuilder AddApiKey(this AuthenticationBuilder authenticationBuilder, string name, Action<ApiKeyAuthenticationOptions> options)
{