Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clash_rule_base内容格式错误情况接口返回空白内容但status是200成功 #385

Open
AoEiuV020 opened this issue Sep 30, 2021 · 0 comments
Labels
enhancement New feature or request low-priority

Comments

@AoEiuV020
Copy link

虽然可以下载后做个空判断,但感觉这情况应该报个错吧400之类的,不该返回200,

参考:
https://github.com/AoEiuV020/SubConfig/blob/4d29c54eb2/config.yml

大概是这么个配置,不知道哪里复制来的代码,格式不对但一直正常用,最近用插件格式化一下代码,冒号:后面井号之前的空格被删除了,这一下yml格式彻底不对了,就导致subconverter转换出空白,但返回了200成功,

  fake-ip-filter:# fake ip 白名单列表,如果你不知道这个参数的作用,请勿修改
    #- '*.lan'
    #- localhost.ptlogin2.qq.com
@tindy2013 tindy2013 added enhancement New feature or request low-priority labels Oct 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request low-priority
Projects
None yet
Development

No branches or pull requests

2 participants