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] Trojan WS转换不正常 #569

Closed
2 tasks done
e5u opened this issue Jan 12, 2023 · 3 comments
Closed
2 tasks done

[BUG] Trojan WS转换不正常 #569

e5u opened this issue Jan 12, 2023 · 3 comments

Comments

@e5u
Copy link

e5u commented Jan 12, 2023

确认版本最新

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

检索issue

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

subconverter版本

0.7.2

转换过程

Trojan转换为Clash配置

转换设置

example_profile.ini

复现步骤

将Trojan ws节点转换为clash节点,给出的结果中password字段会有 !<str> 且未给出ws配置

给出出错的Trojan ws节点例子
trojan://123@example.com:443?path=%2Fmypath&security=tls&host=example.com&type=ws&sni=example.com#example

期望结果

转换后的配置文件中没有错误字段且ws配置正确

实际结果

proxies:
  - {name: example, server: example.com, port: 443, type: trojan, password: !<str> 123, sni: example.com, skip-cert-verify: false}

错误信息

No response

@Masaiki
Copy link
Contributor

Masaiki commented Jan 14, 2023

能确认问题出在哪,但我比较好奇
trojan://123@example.com:443?path=%2Fmypath&security=tls&host=example.com&type=ws&sni=example.com#example
是怎么生成出来的

@e5u
Copy link
Author

e5u commented Jan 14, 2023 via email

@Masaiki
Copy link
Contributor

Masaiki commented Jan 14, 2023

可以试一下 https://github.com/Masaiki/subconverter/actions/runs/3918397951 的构建产物

@e5u e5u closed this as completed Jan 15, 2023
enximi added a commit to enximi/subconverter that referenced this issue Oct 2, 2023
tindy2013 pushed a commit that referenced this issue Oct 3, 2023
支持v2rayN等使用的trojan链接格式
nftbty pushed a commit to nftbty/subconverter that referenced this issue Oct 10, 2023
支持v2rayN等使用的trojan链接格式
kadaliao pushed a commit to kadaliao/subconverter that referenced this issue Oct 16, 2023
支持v2rayN等使用的trojan链接格式
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