mirror of
https://github.com/zhayujie/chatgpt-on-wechat.git
synced 2026-06-02 00:57:41 +08:00
fix(security): prevent path traversal in memory content API
This commit is contained in:
@@ -599,7 +599,7 @@ class CowCliPlugin(Plugin):
|
||||
page = min(page, total_pages)
|
||||
installed = set(load_skills_config().keys())
|
||||
|
||||
lines = [f"🌐 技能广场 (共 {total} 个技能)", ""]
|
||||
lines = ["🌐 技能广场", ""]
|
||||
for s in skills:
|
||||
name = s.get("name", "")
|
||||
display = s.get("display_name", "") or name
|
||||
|
||||
Reference in New Issue
Block a user