I am having this issue when I am sending an encoded query string. The server is returning a 500 Error.
I am using the js function encodeURIComponent
to encode things in the front end and then use .NET decode function in the backend. For example:
country=Finland&type=Sales+Partner
country%3DFinland%26type%3DSales%2BPartner
I tried to check the validaterequest in the web.config
but I don't think that is the problem, since the request does reach the controller.