mwrock / RequestReduce

Instantly makes your .net website faster by reducing the number and size of requests with almost no effort.
www.requestreduce.org
Apache License 2.0
228 stars 49 forks source link

authorizedUserList is case sensitive, user names are not. #218

Open fredrikhaglund opened 12 years ago

fredrikhaglund commented 12 years ago

Hi!

We had a problem In version 1.8.76.0 with authorizedUserList being case sensetive. ASP.NET Membership login name is not case-sensitive so a user can login but not get access to the dashboard even if they should have access when case differs.

Suggestion: Do a lower case on authorizedUserList before spliting it in RequestReduce.Configuration.RRConfiguration and compare with a lower cased username in RequestReduce.Handlers.FlushHandler.ProcessRequest() and RequestReduce.Handlers.DashboardHandler.ProcessRequest()

Kind regards, Fredrik