NickCraver / StackExchange.Exceptional

Error handler used for the Stack Exchange network
https://nickcraver.com/StackExchange.Exceptional/
Apache License 2.0
859 stars 170 forks source link

QueryString: add parsing filters #158

Closed NickCraver closed 5 years ago

NickCraver commented 5 years ago

This adds query string parsing for both the name value collection and the string version (this unfortunately differs slightly between ASP.NET and ASP.NET Core).

The reason for using regex here is to minimally change the query string - e.g. "what if that's the reason we errored in the first place?" So, a simple light-touch replacement is intentional.