A potentially dangerous Request.Form

前端 未结 8 1938
深忆病人
深忆病人 2021-01-08 00:32

Anyone know why I am getting the following error? I have debugging enabled.

Server Error in \'/\' Application.
---------------------------------------------         


        
8条回答
  •  鱼传尺愫
    2021-01-08 01:12

    If this is an MVC application you can apply this attribute on Controller Action level to ignore input validation:

    [ValidateInput(false)]

提交回复
热议问题