From da9eeae5561a710f6825597869d1f840496f53eb Mon Sep 17 00:00:00 2001 From: hyx Date: Tue, 14 Mar 2023 15:26:12 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8B=E9=92=BB=E8=A1=A8=E6=A0=BC=E9=97=AE?= =?UTF-8?q?=E9=A2=98=E4=BF=AE=E6=94=B9=EF=BC=9A=E5=AF=B9=E7=89=B9=E6=AE=8A?= =?UTF-8?q?=E5=AD=97=E7=AC=A6=E5=8D=95=E5=BC=95=E5=8F=B7=E5=81=9A=E5=A4=84?= =?UTF-8?q?=E7=90=86=EF=BC=8C=E4=BB=A5=E6=AD=A3=E7=A1=AE=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E5=88=97=E8=A1=A8=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit (cherry picked from commit 26b54baa33e69c583e352a892cfde53b59301f76) --- src/utils/tools.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/tools.js b/src/utils/tools.js index 00f4bcc6..e4663b59 100644 --- a/src/utils/tools.js +++ b/src/utils/tools.js @@ -878,7 +878,7 @@ export async function getDnsMapData (type) { } export function handleSpecialValue (value) { if (value) { - value.replace(/\'/g, "\\\\'") + value = value.replace(/\'/g, "\\\\'") .replace(/\"/g, '\\"') .replace(/\&/g, '%26') }