标签:style blog http ar io color sp for on
解决办法1:在aspx页面头部加 ValidateRequest="false"
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="a.aspx.cs" Inherits="Test.Web.a" ValidateRequest="false" %>
解决办法2:在web.config中的 <system.web>节点下加
<system.web> <pages validateRequest="false"></pages> <httpRuntime requestValidationMode="2.0"/>
从客户端(f="<zhaoyuntang.com")中检测到有潜在危险的 Request.Form 值。
标签:style blog http ar io color sp for on
原文地址:http://www.cnblogs.com/yonsy/p/4169666.html