2 // System.Web.HttpRequestValidationException
5 // Gonzalo Paniagua Javier (gonzalo@ximian.com)
7 // (c) 2003 Novell, Inc. (http://www.novell.com)
12 public sealed class HttpRequestValidationException : HttpException
14 internal HttpRequestValidationException (string msg) : base (msg)
18 internal override string Description {
20 return "Request validation detected a potentially dangerous input value " +
21 "from the client and aborted the request. This might be an attemp of " +
22 "using cross-site scripting to compromise the security of your site. " +
23 "You can disable request validation using the 'validateRequest=false' " +
24 "attribute in your page or setting it in your machine.config or web.config " +
25 "configuration files. If you disable it, you're encouraged to properly " +
26 "check the input values you get from the client.<br>\r\n" +
27 "You can get more information on input validation " +
28 "<a href=\"http://www.cert.org/tech_tips/malicious_code_mitigation.html\">" +