From a0f38c57f36bb8e50f3a50c0fc5ace4bff540535 Mon Sep 17 00:00:00 2001 From: gaofei1985 <181547018@qq.com> Date: Tue, 12 Sep 2023 10:01:56 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=BF=9B=E5=BA=A6=E5=8D=95?= =?UTF-8?q?=E4=BD=8D=E7=89=B9=E6=AE=8A=E5=AD=97=E7=AC=A6=E4=BF=9D=E5=AD=98?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SGGL/FineUIPro.Web/ErrLog.txt | 135 ++++++++++++++++++ SGGL/FineUIPro.Web/JDGL/Check/PlanSet.aspx | 2 +- SGGL/FineUIPro.Web/JDGL/Check/PlanSet.aspx.cs | 4 + 3 files changed, 140 insertions(+), 1 deletion(-) diff --git a/SGGL/FineUIPro.Web/ErrLog.txt b/SGGL/FineUIPro.Web/ErrLog.txt index 5cb5aef2..18eb3fcb 100644 --- a/SGGL/FineUIPro.Web/ErrLog.txt +++ b/SGGL/FineUIPro.Web/ErrLog.txt @@ -34,3 +34,138 @@ IP地址:::1 出错时间:09/11/2023 11:02:10 + +错误信息开始=====> +错误类型:HttpRequestValidationException +错误信息:从客户端(Panel1$Grid1$ctl04$txtUnit="m³")中检测到有潜在危险的 Request.Form 值。 +错误堆栈: + 在 System.Web.HttpRequest.ValidateString(String value, String collectionKey, RequestValidationSource requestCollection) + 在 System.Web.HttpRequest.ValidateHttpValueCollection(HttpValueCollection collection, RequestValidationSource requestCollection) + 在 System.Web.HttpRequest.get_Form() + 在 System.Web.HttpRequest.get_HasForm() + 在 System.Web.UI.Page.GetCollectionBasedOnMethod(Boolean dontReturnNull) + 在 System.Web.UI.Page.DeterminePostBackMode() + 在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) + 在 System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) + 在 System.Web.UI.Page.ProcessRequest() + 在 System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) + 在 System.Web.UI.Page.ProcessRequest(HttpContext context) + 在 ASP.jdgl_check_planset_aspx.ProcessRequest(HttpContext context) + 在 System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() + 在 System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) + 在 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +出错时间:09/12/2023 09:47:37 +出错文件:http://localhost:6422/JDGL/Check/PlanSet.aspx +IP地址:::1 +操作人员:JT + +出错时间:09/12/2023 09:47:37 + + +错误信息开始=====> +错误类型:HttpRequestValidationException +错误信息:从客户端(Panel1$Grid1$ctl04$txtUnit="m³")中检测到有潜在危险的 Request.Form 值。 +错误堆栈: + 在 System.Web.HttpRequest.ValidateString(String value, String collectionKey, RequestValidationSource requestCollection) + 在 System.Web.HttpRequest.ValidateHttpValueCollection(HttpValueCollection collection, RequestValidationSource requestCollection) + 在 System.Web.HttpRequest.get_Form() + 在 System.Web.HttpRequest.get_HasForm() + 在 System.Web.UI.Page.GetCollectionBasedOnMethod(Boolean dontReturnNull) + 在 System.Web.UI.Page.DeterminePostBackMode() + 在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) + 在 System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) + 在 System.Web.UI.Page.ProcessRequest() + 在 System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) + 在 System.Web.UI.Page.ProcessRequest(HttpContext context) + 在 ASP.jdgl_check_planset_aspx.ProcessRequest(HttpContext context) + 在 System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() + 在 System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) + 在 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +出错时间:09/12/2023 09:47:40 +出错文件:http://localhost:6422/JDGL/Check/PlanSet.aspx +IP地址:::1 +操作人员:JT + +出错时间:09/12/2023 09:47:40 + + +错误信息开始=====> +错误类型:HttpRequestValidationException +错误信息:从客户端(Panel1$Grid1$ctl04$txtUnit="m³")中检测到有潜在危险的 Request.Form 值。 +错误堆栈: + 在 System.Web.HttpRequest.ValidateString(String value, String collectionKey, RequestValidationSource requestCollection) + 在 System.Web.HttpRequest.ValidateHttpValueCollection(HttpValueCollection collection, RequestValidationSource requestCollection) + 在 System.Web.HttpRequest.get_Form() + 在 System.Web.HttpRequest.get_HasForm() + 在 System.Web.UI.Page.GetCollectionBasedOnMethod(Boolean dontReturnNull) + 在 System.Web.UI.Page.DeterminePostBackMode() + 在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) + 在 System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) + 在 System.Web.UI.Page.ProcessRequest() + 在 System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) + 在 System.Web.UI.Page.ProcessRequest(HttpContext context) + 在 ASP.jdgl_check_planset_aspx.ProcessRequest(HttpContext context) + 在 System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() + 在 System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) + 在 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +出错时间:09/12/2023 09:47:42 +出错文件:http://localhost:6422/JDGL/Check/PlanSet.aspx +IP地址:::1 +操作人员:JT + +出错时间:09/12/2023 09:47:42 + + +错误信息开始=====> +错误类型:HttpRequestValidationException +错误信息:从客户端(Panel1$Grid1$ctl04$txtUnit="m³")中检测到有潜在危险的 Request.Form 值。 +错误堆栈: + 在 System.Web.HttpRequest.ValidateString(String value, String collectionKey, RequestValidationSource requestCollection) + 在 System.Web.HttpRequest.ValidateHttpValueCollection(HttpValueCollection collection, RequestValidationSource requestCollection) + 在 System.Web.HttpRequest.get_Form() + 在 System.Web.HttpRequest.get_HasForm() + 在 System.Web.UI.Page.GetCollectionBasedOnMethod(Boolean dontReturnNull) + 在 System.Web.UI.Page.DeterminePostBackMode() + 在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) + 在 System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) + 在 System.Web.UI.Page.ProcessRequest() + 在 System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) + 在 System.Web.UI.Page.ProcessRequest(HttpContext context) + 在 ASP.jdgl_check_planset_aspx.ProcessRequest(HttpContext context) + 在 System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() + 在 System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) + 在 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +出错时间:09/12/2023 09:48:38 +出错文件:http://localhost:6422/JDGL/Check/PlanSet.aspx +IP地址:::1 +操作人员:JT + +出错时间:09/12/2023 09:48:38 + + +错误信息开始=====> +错误类型:HttpRequestValidationException +错误信息:从客户端(Panel1$Grid1$ctl04$txtUnit="m³")中检测到有潜在危险的 Request.Form 值。 +错误堆栈: + 在 System.Web.HttpRequest.ValidateString(String value, String collectionKey, RequestValidationSource requestCollection) + 在 System.Web.HttpRequest.ValidateHttpValueCollection(HttpValueCollection collection, RequestValidationSource requestCollection) + 在 System.Web.HttpRequest.get_Form() + 在 System.Web.HttpRequest.get_HasForm() + 在 System.Web.UI.Page.GetCollectionBasedOnMethod(Boolean dontReturnNull) + 在 System.Web.UI.Page.DeterminePostBackMode() + 在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) + 在 System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) + 在 System.Web.UI.Page.ProcessRequest() + 在 System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) + 在 System.Web.UI.Page.ProcessRequest(HttpContext context) + 在 ASP.jdgl_check_planset_aspx.ProcessRequest(HttpContext context) + 在 System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() + 在 System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) + 在 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +出错时间:09/12/2023 09:48:39 +出错文件:http://localhost:6422/JDGL/Check/PlanSet.aspx +IP地址:::1 +操作人员:JT + +出错时间:09/12/2023 09:48:39 + diff --git a/SGGL/FineUIPro.Web/JDGL/Check/PlanSet.aspx b/SGGL/FineUIPro.Web/JDGL/Check/PlanSet.aspx index b9838b9d..1d38a46c 100644 --- a/SGGL/FineUIPro.Web/JDGL/Check/PlanSet.aspx +++ b/SGGL/FineUIPro.Web/JDGL/Check/PlanSet.aspx @@ -1,4 +1,4 @@ -<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PlanSet.aspx.cs" Inherits="FineUIPro.Web.JDGL.Check.PlanSet" %> +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PlanSet.aspx.cs" Inherits="FineUIPro.Web.JDGL.Check.PlanSet" ValidateRequest="false" %> diff --git a/SGGL/FineUIPro.Web/JDGL/Check/PlanSet.aspx.cs b/SGGL/FineUIPro.Web/JDGL/Check/PlanSet.aspx.cs index c4024ee5..a865e1e5 100644 --- a/SGGL/FineUIPro.Web/JDGL/Check/PlanSet.aspx.cs +++ b/SGGL/FineUIPro.Web/JDGL/Check/PlanSet.aspx.cs @@ -110,6 +110,10 @@ namespace FineUIPro.Web.JDGL.Check { string weights = values.Value("JDWeights"); string unit = values.Value("Unit"); + if (unit == "m³") + { + unit = "m³"; + } string planProjectQuantity = values.Value("PlanProjectQuantity"); string realProjectQuantity = values.Value("RealProjectQuantity"); string planStartDate = values.Value("PlanStartDate");