English 中文(简体)
ASP. NET MVC3: 使用ValidateInput的替代办法
原标题:ASP.NET MVC3: Alternatives to using ValidateInput

我们正致力于一个伙伴关系。 NET MVC3项目利用了html表格的批次。

Because of ValidateInput=true, < and > characters are forbidden through the site (except html enabled fields (AllowHtml)).

但是,不是拥有服务器,而是放弃“可能危险的请求”。 从客户的错误中发现了形式价值,我们希望抓住错误,回去模范国家的错误,强调外地,并说“你不能使用”和“大自然”。

这样做是否容易,或者我们是否必须把验证结果变成虚假和人工的(或由海关过滤器)检查,并为每个员额职能实施?

问题回答

暂无回答




相关问题
Using jquery to get a partial view and updating the UI

I need to render a partial view (returned from the controller) to show some customer summary details. This will need to happen when the user clicks on a button. In the the mean time the user can ...

MVC 2 / MVC 3 / MVC 4

MVC 2 我们可以轻松地创造领域。 现在,我的问题涉及nes地区(地区内)。

Asp.Net MVC 2 - Changing the PropertyValueRequired string

Using a resx file in the App_GlobalResources directory, I ve been able to change the default message for the PropertyValueInvalid string of the model validators. But it doesn t work to translate the ...

ASP.NET MVC 3 - What features do you want to see? [closed]

I know a bunch of people that are really enjoying the improvements that ASP.NET MVC 2 made over the first release. I have just started to migrate our MVC 1 project over and so far areas has totally ...

热门标签