A potentially dangerous Request.Path value was detected from the client

Posted on

I have a Odata service implementation and started getting errors where one of parameters in query has ‘:’.

Solution:

<system.web>
    <httpRuntime requestValidationMode="2.0" requestPathInvalidCharacters=""/>
<pages validateRequest="false">

Tags: , , ,