AspNetCoreRateLimit icon indicating copy to clipboard operation
AspNetCoreRateLimit copied to clipboard

allow ":*/" as a valid EndpointWhitelist item

Open mcshaz opened this issue 4 years ago • 0 comments
trafficstars

EndpointWhitelist includes the line

 Path = httpContext.Request.Path.ToString().ToLowerInvariant().TrimEnd('/'),

but allowing the root path to be included in the whitelist makes perfect sense. Could this be altered so something like "*:/" is a valid EndpointWhitelist value?

Thanks I'll PR a failing unit test

mcshaz avatar Oct 08 '21 07:10 mcshaz