From fe0623bc0db6fd634783e8296bbd02ffe4b5159f Mon Sep 17 00:00:00 2001 From: hufangzhou Date: Sun, 25 Jun 2023 09:46:37 +0800 Subject: [PATCH] * Add escape operation to the exported internal Zen data. --- doc/CHANGELOG | 2 +- tools/prepareupdate.php | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/CHANGELOG b/doc/CHANGELOG index 37c2415cbc..fb1f904d94 100644 --- a/doc/CHANGELOG +++ b/doc/CHANGELOG @@ -21,7 +21,7 @@ 35729 升级成功后没插入原内置的水晶报表 35726 达梦数据库添加数据源sql报错 35718 达梦数据库全文检索sql报错 -35700 达梦数据库,多平台产品,点击产品->矩阵导航,sql异常 +35700 达梦数据库,多平台产品,点击产品->矩阵导航,sql异常 34819 达梦安装方式,透视表下不显示检索标签 34610 创建上线计划有SQL报错 30371 添加中间表所属分组的下拉菜单遮挡 diff --git a/tools/prepareupdate.php b/tools/prepareupdate.php index 96092877ac..6f447e6974 100755 --- a/tools/prepareupdate.php +++ b/tools/prepareupdate.php @@ -117,12 +117,14 @@ class prepareUpdate foreach($stories as $storyID) { $storyTitle = $this->getStoryOrBugTitle('story', $storyID); + $storyTitle = htmlspecialchars_decode($storyTitle); $doneStories .= $storyTitle ? $storyID . ' ' . $storyTitle . "\n" : ''; } foreach($bugs as $bugID) { $bugTitle = $this->getStoryOrBugTitle('bug', $bugID); + $bugTitle = htmlspecialchars_decode($bugTitle); $fixedBugs .= $bugTitle ? $bugID . ' ' . $bugTitle . "\n" : ''; } }