From 954bdcfa8cbdd67eaaca92cf6c25d0e88b5f508d Mon Sep 17 00:00:00 2001
From: duhe <226547893@qq.com>
Date: 星期二, 31 十二月 2024 10:07:23 +0800
Subject: [PATCH] 客户条码扫描记录单维护:点击 条码列表 按钮时,传递的参数中中文乱码问题解决
---
WebTM/Web.config | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/WebTM/Web.config b/WebTM/Web.config
index 2db5211..3903a18 100644
--- a/WebTM/Web.config
+++ b/WebTM/Web.config
@@ -6,7 +6,7 @@
<configuration>
<system.web>
<compilation debug="true" targetFramework="4.5" />
- <httpRuntime targetFramework="4.5" />
+ <httpRuntime targetFramework="4.5" maxQueryStringLength="102400" />
</system.web>
<appSettings>
<add key="Name" value="61.130.49.162:9090/WMSAPI///" />
@@ -19,6 +19,11 @@
<handlers>
<remove name="StaticFile" />
<add name="StaticFile" path="*" verb="*" modules="StaticFileModule,DefaultDocumentModule" resourceType="Either" requireAccess="Read" />
- </handlers>
+ </handlers>
+ <security>
+ <requestFiltering>
+ <requestLimits maxAllowedContentLength="10485760" maxQueryString="10485760" /> <!--璁剧疆鍙傛暟鍐呭鐨勬渶澶ч暱搴︿负10MB锛岄粯璁ゆ槸4MB,鏈�澶ф敮鎸�2GB-->
+ </requestFiltering>
+ </security>
</system.webServer>
</configuration>
--
Gitblit v1.9.1