From 5614f678bd16c274e9bcadefbc9d740f288c4cdf Mon Sep 17 00:00:00 2001 From: yaodeshun Date: Sat, 11 Oct 2025 16:07:27 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=BF=E6=8D=A2=E8=BD=AC=E4=B9=89=E5=AD=97?= =?UTF-8?q?=E7=AC=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package/gamelog/sdk.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/gamelog/sdk.go b/package/gamelog/sdk.go index de71aad..cc25eaa 100644 --- a/package/gamelog/sdk.go +++ b/package/gamelog/sdk.go @@ -74,7 +74,7 @@ var safePropertyRE = regexp.MustCompile( `|\\u[0-9a-fA-F]{4}` + // Unicode 4位转义 `|\\[tnrfbv\\]` + // 转义字面量 `|[\x00-\x1F\x7F-\x9F]` + // ASCII + C1 控制字符 - `|[\u200B-\u200D\uFEFF]`, // 零宽字符 + `|[\\u200B-\\u200D\\uFEFF]`, // 零宽字符 ) func safeProperty(property map[string]any) {