'/' 應用程式中發生伺服器錯誤。

具有潛在危險 Request.QueryString 的值已從用戶端 (name1="<font color="1f6708"...") 偵測到。

描述: ASP.NET 偵測到要求中的資料具有潛在危險,因為它可能包括 HTML 標記或指令碼。此資料可能表示有人嘗試危害應用程式的安全性,例如跨站台的指令碼處理攻擊。如果您的應用程式允許這種輸入,則可以在網頁中包含程式碼,以便明確地允許它。如需詳細資訊,請參閱 http://go.microsoft.com/fwlink/?LinkID=212874。

例外狀況詳細資訊: System.Web.HttpRequestValidationException: 具有潛在危險 Request.QueryString 的值已從用戶端 (name1="<font color="1f6708"...") 偵測到。

原始程式錯誤:


[沒有相關的原始程式碼]

原始程式檔: c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\4256b973\6458d989\App_Web_shop0.aspx.cdcab7d2.0ojf5yme.0.cs    行: 0

堆疊追蹤:


[HttpRequestValidationException (0x80004005): 具有潛在危險 Request.QueryString 的值已從用戶端 (name1="<font color="1f6708"...") 偵測到。]
   System.Web.HttpRequest.ValidateString(String value, String collectionKey, RequestValidationSource requestCollection) +9934312
   System.Web.HttpRequest.ValidateHttpValueCollection(HttpValueCollection collection, RequestValidationSource requestCollection) +194
   System.Web.HttpRequest.get_QueryString() +56
   System.Web.UI.Page.GetCollectionBasedOnMethod(Boolean dontReturnNull) +70
   System.Web.UI.Page.DeterminePostBackMode() +69
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +6569
   System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +245
   System.Web.UI.Page.ProcessRequest() +72
   System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +22
   System.Web.UI.Page.ProcessRequest(HttpContext context) +58
   ASP.shop0_aspx.ProcessRequest(HttpContext context) in c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\4256b973\6458d989\App_Web_shop0.aspx.cdcab7d2.0ojf5yme.0.cs:0
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +188
   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +48
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +71


版本資訊: Microsoft .NET Framework 版本:4.0.30319; ASP.NET 版本:4.7.4087.0