asp.net 4.0 A potentially dangerous Request.Form value was detected fr(转载)
2011-06-02 10:58
666 查看
解决方法:
页面中设置ValidateRequest="false",asp.net 4.0需要在web.config文件中配置如下结点
<configuration>
<system.web>
<httpRuntime requestValidationMode="2.0">
如果是asp.net mvc
需要在对应的Controller Action上增加[ValidateInput(false)] 特性
转自http://apps.hi.baidu.com/share/detail/21178272
页面中设置ValidateRequest="false",asp.net 4.0需要在web.config文件中配置如下结点
<configuration>
<system.web>
<httpRuntime requestValidationMode="2.0">
如果是asp.net mvc
需要在对应的Controller Action上增加[ValidateInput(false)] 特性
转自http://apps.hi.baidu.com/share/detail/21178272
相关文章推荐
- asp.net 4.0 A potentially dangerous Request.Form value was detected fr
- asp.net 4.0 A potentially dangerous Request.Form value was detected
- ASP.NET 4.0 potentially dangerous Request.Form value was detected
- 解决ASP.NET 4.0 "A potentially dangerous Request.Form value was detected from the client". 错误
- discuz ASP.NET 4.0验证请求 A potentially dangerous Request.Form value was detected from the client
- 自己留存:小经验在asp.net 4.5或者asp.net mvc 5解决A potentially dangerous Request.Form value was detected from the client
- 处理asp.net出现A potentially dangerous Request.Form value was detected from the client
- 解决ASP.NET的“A potentially dangerous Request... value was detected”
- 解决.Net 4.0 A potentially dangerous Request.Form value was detected from the client 异常
- [ASP.NET]Error: A potentially dangerous Request.QueryString value was detected
- .net 4.0 A potentially dangerous Request.Form value was detected from the client 的解决方案
- 【asp.net mvc】A potentially dangerous Request.Path value was detected from the client(检测到客户端有潜在危险的Request.Path值)
- [ASP.NET]A potentially dangerous Request.Path value was detected
- 解决.Net 4.0 A potentially dangerous Request.Form value was detected from the client 异常
- A potentially dangerous Request.Form value was detected from the client 的解决方法
- A potentially dangerous Request.Form value was detected from the client
- Additional information: A potentially dangerous Request.Form value was detected from the client
- A potentially dangerous Request.Form value was detected from the client
- 出现错误‘A potentially dangerous Request.Form value was detected from the client’的解决方案
- A potentially dangerous Request.Form value was detected from the client