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

Co-authored-by: Bogdan <mynameisbogdan@users.noreply.github.com>
pull/7236/head
Mark McDowall 5 months ago committed by Mark McDowall
parent faf9173b3b
commit 75fae9262c

@ -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)
{

Loading…
Cancel
Save