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

[BUG] <title>target=singbox的BUG:源IP在sing-box中正确的应转译为source_ip_cidr,而非src_ip_cidr #784

Open
2 tasks done
ralopa673 opened this issue Sep 23, 2024 · 0 comments

Comments

@ralopa673
Copy link

ralopa673 commented Sep 23, 2024

确认版本最新

  • 我已经确认在最新Action编译的版本中复现

检索issue

  • 我已经确认之前没有issue涉及此BUG

subconverter版本

0.9.0

转换过程

任何带SRC-IP-CIDR的clash远程模板转singbox时

转换设置

任何包含SRC-IP-CIDR的clash远程配置模板,转换为singbox时,都会错误转译src_ip_cidr

复现步骤

任何包含SRC-IP-CIDR的clash远程配置模板,转换为singbox时,都会错误转译src_ip_cidr ——这似乎是简单地将clash风格的hyphen -,替换成underline _而得到。

  • 然而sing-box(至少近期新版),没有src_ip_cidr这种写法,运行后将直接报错。

  • 符合sing-box语法规范的正确写法source_ip_cidr

期望结果

source_ip_cidr

实际结果

src_ip_cidr

错误信息

No response

@ralopa673 ralopa673 changed the title [BUG] <title>target=singbox的BUG:源IP在singbox中正确应转译为source_ip_cidr,而非src_ip_cidr [BUG] <title>target=singbox的BUG:源IP在sing-box中正确应转译为source_ip_cidr,而非src_ip_cidr Sep 23, 2024
@ralopa673 ralopa673 changed the title [BUG] <title>target=singbox的BUG:源IP在sing-box中正确应转译为source_ip_cidr,而非src_ip_cidr [BUG] <title>target=singbox的BUG:源IP在sing-box中正确的应转译为source_ip_cidr,而非src_ip_cidr Sep 23, 2024
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

1 participant