asp.net mvc 如何接收支付宝支付接口 异步通知 notify

问题已经获得解决 
支付宝的 异步通知被 asp.net 的安全机制给拦截了 
返回给支付宝的500错误信息是 
A potentially dangerous Request.Form value was detected from the client

解决方法 :

 [HttpPost, ValidateInput(false)]
        public string notify(FormCollection collection)


<httpRuntime  requestValidationMode="2.0"  />安全

相关文章
相关标签/搜索