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-provider转化为规则时payload位置影响转化 #289

Closed
xqXQzzz1 opened this issue Jan 2, 2021 · 3 comments
Closed

Clash的rule-provider转化为规则时payload位置影响转化 #289

xqXQzzz1 opened this issue Jan 2, 2021 · 3 comments

Comments

@xqXQzzz1
Copy link

xqXQzzz1 commented Jan 2, 2021

外部配置文件有:

ruleset=test1,clash-domain:config/test1.yaml,86400
ruleset=test2,clash-domain:config/test2.yaml,86400
custom_proxy_group=test1`select`[]DIRECT
custom_proxy_group=test2`select`[]DIRECT

对应test1.yaml为:

payload:
  # test1
  - 'test.com'

对应test2.yaml为:

# test2
payload:
  - 'test.com'

转化规则为:

rules:
 - DOMAIN,test.com,test1

无test2文件的转化
版本为0.6.4

@gang4399
Copy link

gang4399 commented Jan 2, 2021

@xqXQzzz1 这不是应该的吗?

@xqXQzzz1
Copy link
Author

T大忙完了会修改这个问题吗?

@honeyjuice
Copy link

同样 遇到这个问题 ,现在一般规则制作者开头会添加多行注释

tindy2013 added a commit that referenced this issue Mar 23, 2021
Fix incorrect handing of default node parameters in SSD subscription.
Fix unable to parse some Clash rule-providers (#289).
Fix not filtering inline comments in some Surge rulesets. (#285)
Add Cron task options.
Add clean context option for persisting a JS context across the whole request.
Replace JS engine with QuickJS.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants