From c9362f142e8f4832ee1516263f8e6d5dcdfff2d7 Mon Sep 17 00:00:00 2001 From: zhangdaiscott Date: Thu, 3 Nov 2022 16:04:31 +0800 Subject: [PATCH] =?UTF-8?q?[issues/183]=E4=B8=8B=E6=8B=89=E6=90=9C?= =?UTF-8?q?=E7=B4=A2=EF=BC=8C=E4=BD=BF=E7=94=A8=E5=8A=A8=E6=80=81=E5=AD=97?= =?UTF-8?q?=E5=85=B8=EF=BC=8C=E5=9C=A8=E7=BA=BF=E9=A1=B5=E9=9D=A2=E4=B8=8D?= =?UTF-8?q?=E6=8A=A5=E9=94=99=EF=BC=8C=E7=94=9F=E6=88=90=E7=9A=84=E4=BB=A3?= =?UTF-8?q?=E7=A0=81=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/encryption/signMd5Utils.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/utils/encryption/signMd5Utils.js b/src/utils/encryption/signMd5Utils.js index 6f13978..1a66e11 100644 --- a/src/utils/encryption/signMd5Utils.js +++ b/src/utils/encryption/signMd5Utils.js @@ -53,8 +53,11 @@ export default class signMd5Utils { if (lastpathVariable.includes('?')) { lastpathVariable = lastpathVariable.substring(0, lastpathVariable.indexOf('?')); } + //update-begin---author:wangshuai ---date:20221103 for:[issues/183]下拉搜索,使用动态字典,在线页面不报错,生成的代码报错 ------------ //解决Sign 签名校验失败 #2728 - result['x-path-variable'] = decodeURI(lastpathVariable); + //decodeURI对特殊字符没有没有编码和解码的能力,需要使用decodeURIComponent + result['x-path-variable'] = decodeURIComponent(lastpathVariable); + //update-end---author:wangshuai ---date:20221103 for:[issues/183]下拉搜索,使用动态字典,在线页面不报错,生成的代码报错 ------------ } if (urlArray && urlArray[1]) { let paramString = urlArray[1],