A potentially dangerous Request.Form

前端 未结 8 2024
深忆病人
深忆病人 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:10

    i have ajax request with formdata so it has worked while using unvalidated keyword before retrieving data from the request. So you can try this way with tinymce text data here you don't need to modify your web config file also. my code is give below:

    var data=Request.Unvalidated.Form["Key_word"];
    

提交回复
热议问题