I need to accept the XML data in a form message for my ashx http attack handler.
However, I get the error message βThe potentially dangerous value of Request.Form was detected ..β when I pull the xml data from the request using request.Form.
I cannot set the validation request to false, as this is not an aspx page. What can I do?
eg.
<textarea rows="12" cols="50" name="Post2Data"> <root> <XML>.... </root> </textarea> request.Form["Post2Data"];
source share