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] ssid 策略组转换成 Quantumult X 订阅似乎语法有误 #718

Open
2 tasks done
ihainan opened this issue Mar 6, 2024 · 2 comments
Open
2 tasks done

Comments

@ihainan
Copy link

ihainan commented Mar 6, 2024

确认版本最新

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

检索issue

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

subconverter版本

latest docker image - d015ecda67d0

转换过程

ssid 策略组转换成 Quantumult X 订阅

转换设置

在 pref.ini 中配置:

custom_proxy_group=Network`ssid`🚀 节点选择`🚀 节点选择`IHAINAN_5G=DIRECT

复现步骤

在 pref.ini 中配置:

custom_proxy_group=Network`ssid`🚀 节点选择`🚀 节点选择`IHAINAN_5G=DIRECT

生成的 Quantumult X 配置文件对应行:

ssid=Network, 🚀 节点选择, 🚀 节点选择, IHAINAN_5G:DIRECT, check-interval=0

导入到 Quantumult X 中。

期望结果

生成的订阅文件能够成功被 Quantumult X 解析。

实际结果

Quantumult X 解析订阅文件报错,提示语法错误。

手工将 , check-interval=0 去掉则可以被正确解析。

或许

if(type != "static")
这里需要加一个额外判断剔除掉 ssid

错误信息

No response

@ihainan
Copy link
Author

ihainan commented Mar 9, 2024

我自己按照上面所说修改了 subexport.cpp,测试了一下,的确能够移除掉 , check-interval=0

image

@tindy2013
Copy link
Owner

提交 6af2c56 已修复该问题

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

2 participants