Skip to content

[Bug] 在 _conf_schema.json 中输入 {} ,似乎会暴露外部的配置项 #9608

Description

@17-qxm

问题描述

在 _conf_schema.json 中输入 {}

Image

会导致

Image Image

如何复现?

随便一个插件,譬如Soulter自己的helloworld示例插件
然后添加 _conf_schema.json ,输入 {}

Image

然后就能够复现了,
但是似乎目前 astrbot openapi 不受影响

AstrBot 版本

4.27.2

操作系统

Linux

部署方式

venv直接部署

使用的消息平台适配器

napcat

错误日志

没有相关日志,这与日志无关

辅助信息

No response

检查清单

  • 我已在 Issue 列表中搜索过相关问题仍无法解决,或该问题从未被报告过。
  • 我已尝试过禁用所有插件,排除了可能是因插件导致的问题。
  • 我报告的问题与 AstrBot 本体相关,而非在报告某一插件的问题。
  • 我已阅读并同意本项目的贡献者行为准则
  • (可选)我愿意提交 PR 以帮助修复该问题。

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:webuiThe bug / feature is about webui(dashboard) of astrbot.bugSomething isn't workingfeature:pluginThe bug / feature is about AstrBot plugin system.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions