From a30e34d670296df9f67b2ee0785b62879ad428ab Mon Sep 17 00:00:00 2001 From: yangwei999 <348134071@qq.com> Date: Tue, 8 Oct 2024 10:32:17 +0800 Subject: [PATCH] fix topic --- cve-vulner-manager/cve-ddd/infrastructure/bulletinimpl/impl.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cve-vulner-manager/cve-ddd/infrastructure/bulletinimpl/impl.go b/cve-vulner-manager/cve-ddd/infrastructure/bulletinimpl/impl.go index d534fdc..c1cbda5 100644 --- a/cve-vulner-manager/cve-ddd/infrastructure/bulletinimpl/impl.go +++ b/cve-vulner-manager/cve-ddd/infrastructure/bulletinimpl/impl.go @@ -179,7 +179,7 @@ func (impl bulletinImpl) documentNotes(sb *domain.SecurityBulletin) DocumentNote if cve.Theme != "" && cve.AffectedProduct != "" { theme := strings.ReplaceAll(cve.Theme, "\n\n", "\r\n\r\n") theme = taskhandler.XmlSpecCharHand(theme) - topic = strings.ReplaceAll(theme, cve.AffectedProduct, sb.AffectedVersion[0]) + topic = strings.ReplaceAll(theme, cve.AffectedProduct, impl.joinVersion(sb)) } } -- Gitee