vs2010 中取消检测有潜在危险的 Request.Form 值的方法

1,<%@ Page Language="C#" ValidateRequest="false" AutoEventWireup="true" CodeBehind="default.aspx.cs" Inherits="CKEditor测试._default" %>

2,
<configuration>     <system.web>         <compilation debug="true" targetFramework="4.0" />         <httpRuntime requestValidationMode="2.0" />     </system.web> </configuration>

 

 

posted @ 2013-11-13 21:29  grax  阅读(131)  评论(0编辑  收藏  举报