From b85524a2daa4a3825f315d5f2b1497a3e6967182 Mon Sep 17 00:00:00 2001 From: ndbs Date: Thu, 1 Sep 2022 14:30:57 +0800 Subject: [PATCH] =?UTF-8?q?=E5=86=85=E9=83=A8=E9=82=AE=E4=BB=B6=20?= =?UTF-8?q?=E6=89=8B=E6=9C=BA=E7=AB=AF=E6=9F=A5=E7=9C=8B=E8=A7=A3=E7=A0=81?= =?UTF-8?q?=E6=9C=89=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Controllers/SYS_SendMessageController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/SYS_SendMessageController.cs b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/SYS_SendMessageController.cs index 3343c0963..e9ec32c57 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/SYS_SendMessageController.cs +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/SYS_SendMessageController.cs @@ -134,7 +134,7 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers SYS_SendMessageEntity entity = strEntity.ToObject(); entity.SENDERID = logInfo.userId; entity.SENDER = logInfo.realName; - entity.CONTENTS = HttpUtility.HtmlDecode(entity.CONTENTS); + entity.CONTENTS = WebHelper.HtmlEncode(entity.CONTENTS); entity.RECEIVER = string.Join(",", userIbll.GetListByUserIds(entity.RECEIVERID).Select(m => m.F_RealName)); if (!string.IsNullOrEmpty(entity.RECEIVERIDToo)) {