修复邮件解析和密送隐私泄露
Security Checks / security (push) Waiting to run

This commit is contained in:
xuans committed 2026-09-06 05:40:33 +08:00
1 parent bf2d7b6e2d
commit 4769aad8e5
3 files changed
+28 -10

No files matched your search

+3
View File
@@ -41,6 +41,9 @@ func GetEmailDetail(ctx *context.Context, id int, markRead bool) (*response.Emai
}
email.IsRead = ue.IsRead
if email.Type == 0 {
email.Bcc = "[]"
}
// 将内容中的cid内容替换成url
if strings.TrimSpace(email.Attachments) != "" {