A potentially dangerous Request.Path value was detected from the client (:).

ASP.NET MVC3检测客户端请求路径有潜在危险解决方法
在网站配置文件(web.config)的<system.web>节点加入以下内容即可:
<httpRuntime requestPathInvalidCharacters="" />requestPathInvalidCharacters默认值为<,>,*,%,:,&,/。
A potentially dangerous Request.Path value was detected from the client (:).

<httpRuntime requestPathInvalidCharacters="" />
评论(0)
暂无评论。