Server Error in '/' Application.

A potentially dangerous Request.QueryString value was detected from the client (q="mot composé").

Description: ASP.NET has detected data in the request that is potentially dangerous because it might include HTML markup or script. The data might represent an attempt to compromise the security of your application, such as a cross-site scripting attack. If this type of input is appropriate in your application, you can include code in a web page to explicitly allow it. For more information, see http://go.microsoft.com/fwlink/?LinkID=212874.

Exception Details: System.Web.HttpRequestValidationException: A potentially dangerous Request.QueryString value was detected from the client (q="mot composé").

Source Error:


Line 114:            SearchMethod = "Full";
Line 115:        }
Line 116:        else if (Request["q"] != null)
Line 117:        {
Line 118:            Query = Utility.CleanUserInput(Utility.StripAllTags(Request["q"]));

Source File: c:\inetpub\biggerplate_temp\Biggerplate Live\search.aspx.cs    Line: 116

Stack Trace:


[HttpRequestValidationException (0x80004005): A potentially dangerous Request.QueryString value was detected from the client (q="mot composé").]
   System.Web.HttpRequest.ValidateString(String value, String collectionKey, RequestValidationSource requestCollection) +417
   System.Web.HttpValueCollection.EnsureKeyValidated(String key) +102
   System.Web.HttpValueCollection.Get(String name) +23
   System.Web.HttpRequest.get_Item(String key) +36
   search.ExecuteSearch() in c:\inetpub\biggerplate_temp\Biggerplate Live\search.aspx.cs:116
   search.Page_PreLoad(Object sender, EventArgs e) in c:\inetpub\biggerplate_temp\Biggerplate Live\search.aspx.cs:63
   System.EventHandler.Invoke(Object sender, EventArgs e) +0
   System.Web.UI.Page.OnPreLoad(EventArgs e) +141
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +10218
   System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +348
   System.Web.UI.Page.ProcessRequest() +75
   System.Web.UI.Page.ProcessRequest(HttpContext context) +105
   ASP.search_aspx.ProcessRequest(HttpContext context) in c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\68f1d3a6\419b7a22\App_Web_4kokvkph.16.cs:0
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +866
   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +213
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +91


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.3770.0