QueryString Key with Accent crahes Contrib.Cache


I recently ran into an issue with Contrib.Cache, I noticed some crashes and traced it down to special characters being used in the query string.

For instance, if you cook Orchard with the blog recipe, and enabled Contrib.Cache, head to the url...

http://localhost:8088/?é which should translate to the url...

http://localhost:8088/?%C3%A9 queryString.AllKeys contains an array with a single null value...
Causing the following crash... in OutputCacheFilter.cs:183

Value cannot be null.
Parameter name: key


sebastienros wrote Apr 30, 2013 at 5:27 PM

Fixed in e4b21c596e79