2010-06-28 52 views
2

我已禁用validateRequest在我的web.config,但應用程序仍然是射擊的錯誤:Asp.Net MVC輸入驗證而被停用後仍射擊

A potentially dangerous Request.Form value was detected from the client

我有我的網頁下面.CONFIG

<httpRuntime requestValidationMode="2.0" /> 
    <pages validateRequest="false"> 

我也試過在我的控制器以下無濟於事

<ValidateInput(False)> _ 
<AcceptVerbs(HttpVerbs.Post)> _ 
Function Edit(ByVal user As Domain.User, ByVal id As Integer) As ActionResult 

回答