修改进度单位特殊字符保存问题
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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" %>
|
||||
|
||||
<!DOCTYPE html>
|
||||
|
||||
|
||||
@@ -110,6 +110,10 @@ namespace FineUIPro.Web.JDGL.Check
|
||||
{
|
||||
string weights = values.Value<string>("JDWeights");
|
||||
string unit = values.Value<string>("Unit");
|
||||
if (unit == "m³")
|
||||
{
|
||||
unit = "m³";
|
||||
}
|
||||
string planProjectQuantity = values.Value<string>("PlanProjectQuantity");
|
||||
string realProjectQuantity = values.Value<string>("RealProjectQuantity");
|
||||
string planStartDate = values.Value<string>("PlanStartDate");
|
||||
|
||||
Reference in New Issue
Block a user