Posting HTML within an ASP.NET form -
I am using master pages in an ASP.NET MVC app that gives you HTML data as part of a form Offers to present. Even when I
or set
& lt; Pages validateRequest = "false" & gt; ... & lt; / Pages & gt; My web In the config file
I still get the same error:
A potentially dangerous request. Farm value detected from client ...
Description: The request validation has detected potentially dangerous client input value, and the request process has been revoked. This value can indicate an attempt to compromise your app's security, such as cross-site scripting attacks. You can disable request verification by setting validateRequest = false in the page directive or in the configuration section. However, it is strongly recommended that your application clearly checks all the inputs in this case.
I am using ASP.Net Master Pages within an MVC app.
Any thoughts? See this.
asp.net MVC occurs in the verification level instead of the page, implementing the attribute [valid Input (wrong)] should help in controlling action
Comments
Post a Comment