A potentially dangerous Request.QueryString value was detected from the client when sending html markup from jquery post call to asp.net page

后端 未结 5 1704
一向
一向 2020-12-06 09:12

I m making an ajax call using jQuery to an ASP.NET page which acts as my ajax server page to save the data which i am sending to it in the query string. In the ASP.NET page

5条回答
  •  伪装坚强ぢ
    2020-12-06 09:38

    If this is ASP.NET 4, there was a breaking change with ValidateRequest. See this StackOverflow question for more information on requestValidationMode.

提交回复
热议问题