IHttpRequest.Param is case sensitive (because Dictionary<string, HttpInputItem> is case sensitive

Jun 16, 2009 at 12:42 AM

Greetings again,

I recently noticed that calling Request.Param["anything"] does not return the proper HttpInputItem if the case of the characters in the argument name in the query string differ at all. This is of course because the internal dictionary being used to store these parameters is case sensitive. The argument names are being put directly into the dictionary without normalizing their case (which would obviously need to be done on all the lookup methods as well). As with my previous posts, do you have any objections to fixing this (I don't mind submitting a patch)?

Coordinator
Jun 16, 2009 at 10:26 AM

Feel free to create patches. thanks.