Model view controller 从客户端检测到mandrill webhook的潜在危险请求。表单值

Model view controller 从客户端检测到mandrill webhook的潜在危险请求。表单值,model-view-controller,Model View Controller,我用这个来处理我们服务器上的跳转邮件 [ValidateInput(false)] public string Mandrill(FormCollection fc) { string json = fc["mandrill_events"]; } 但我得到了这个错误 System.Web.HttpRequestValidationException(0x80004005):潜在危险的请求。从客户端检测到表单值(mandrill_events=“…550

我用这个来处理我们服务器上的跳转邮件

    [ValidateInput(false)]
    public string Mandrill(FormCollection fc)
    {
    string json = fc["mandrill_events"];
    }
但我得到了这个错误 System.Web.HttpRequestValidationException(0x80004005):潜在危险的请求。从客户端检测到表单值(mandrill_events=“…550 5.1.1…”)。


请帮助解决此问题。

您可以按此链接中的说明设置ValidateRequest=false:您可以按此链接中的说明设置ValidateRequest=false: