-
-
Notifications
You must be signed in to change notification settings - Fork 190
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Issue Checklist | Issue 检查清单
- I am using Keep version
4.2.5or later. (使用 Keep4.2.5或更高版本) - I have already read the Troubleshooting page of Hexo and Keep documents. (已阅读 Hexo 故障处理页面 和 Keep 文档)
- I have already searched for current issues, which does not help me. (已搜索 Issues,对我没有帮助)
Expected behavior | 预期行为
在我认为的正常情况是,全局搜索是不包含隐藏文章内容的
我不知道这算不算是个Bug,在我已知加密文章的部分内容的情况下,尝试用全局搜索功能可以显示一小段内容,如果攻击者不断枚举关键词甚至可以推测整篇文章的内容,当然了这只是我的猜想
Actual behavior | 实际行为
- Links to demo site with this issue (链接到这个 Issue 的演示网站)
- https://keep.xpoet.cn/post/f41b05a7b521/
- Links to source code of the blog with this issue (链接到这个 Issue 的博客源代码)
- Screenshots(屏幕截图)

Steps to reproduce the behavior | 重现步骤
直接利用全局搜索加密文章关键词即可
Node.js and NPM Information | Node.js 和 NPM 信息
>node -v
v22.11.0
>npm -v
10.9.0
Hexo Configuration | Hexo 配置
##search
search:
path: search.json
field: post
content: true
format: striptagsKeep Configuration | Keep 配置
local_search:
enable: true # Option values: true | false
preload: true # Preload the search data when the page loads. Option values: true | falseOther Information | 其它信息
浏览器:Chrome 131.0.6778.265
操作系统:Windows11 24H2 26100.2605
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working