diff --git a/docs/changelog.md b/docs/changelog.md
index 94e7bd10..81f26fc7 100644
--- a/docs/changelog.md
+++ b/docs/changelog.md
@@ -15,6 +15,7 @@
- 优化伪静态功能;
- 修正找回密码功能;
- 修正枚举标签调用功能;
+- 常规安全问题修复;
# V6.2.7
- 增加jsonq标签功能,支持跨站跨应用栏目数据调用;
diff --git a/src/system/archive/archives.class.php b/src/system/archive/archives.class.php
index da9c9db1..b64faf83 100755
--- a/src/system/archive/archives.class.php
+++ b/src/system/archive/archives.class.php
@@ -857,6 +857,7 @@ class Archives
*/
function GetPageTitlesDM($styleName, $pageNo)
{
+ global $cfg_rewrite;
if ($this->TotalPage == 1) {
return "";
}
@@ -869,26 +870,47 @@ class Archives
$revalue = "";
foreach ($this->SplitTitles as $k => $v) {
if ($i == 1) {
- $revalue .= "$v\r\n";
+ if ($cfg_rewrite == 'Y') {
+ $revalue .= "$v\r\n";
+ } else {
+ $revalue .= "$v\r\n";
+ }
} else {
if ($pageNo == $i) {
$revalue .= " $v \r\n";
} else {
- $revalue .= "$v\r\n";
+ if ($cfg_rewrite == 'Y') {
+ $revalue .= "$v\r\n";
+ } else {
+ $revalue .= "$v\r\n";
+ }
+
}
}
$i++;
}
} else {
- $revalue = "