From 38ed135a72f9d4f35c6979b815aaa084e12f441f Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期五, 27 九月 2024 18:39:59 +0800
Subject: [PATCH] 1111 登录事件1100汇报ClientVersion增加url编码;

---
 ServerPython/CoreServerGroup/GameServer/Script/Player/DirtyList.py |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/ServerPython/CoreServerGroup/GameServer/Script/Player/DirtyList.py b/ServerPython/CoreServerGroup/GameServer/Script/Player/DirtyList.py
index b463b58..2f49c82 100644
--- a/ServerPython/CoreServerGroup/GameServer/Script/Player/DirtyList.py
+++ b/ServerPython/CoreServerGroup/GameServer/Script/Player/DirtyList.py
@@ -31,6 +31,10 @@
     if not EncodingToUnicode(inputText):
         return True
     
+    if "\xe3\x85\xa4" in inputText:
+        GameWorld.Log("存在非法空白填充符!")
+        return True
+    
     #屏蔽转义字符
     for char in ShareDefine.Def_List_EscapeSequence:
         if char in inputText:

--
Gitblit v1.8.0