-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
fix: ss obfsParams parsing index out of range #976
Conversation
feat: support ss v2ray-plugin parsing feat: support hy2 schema parsing
Where is "hy2" used as the URL scheme for Hysteria 2? Any documentations? |
@snakem982 Is this OK? fcdc47e |
pluginInfo, _ := url.ParseQuery(strings.ReplaceAll(plugin, ";", "&"))
pluginName := pluginInfo.Get("plugin") pluginInfo does not contain the field plugin |
How about add "plugin=" to the start of the string? Or any other solution for this? 🥲 |
If the URL is like this plugin=urlEncode(path=/obfs;v2ray-plugin;) |
Is this legal, anyway? SIP002 says plugin is encoded "the similar format" as "TOR_PT_SERVER_TRANSPORT_OPTIONS". And it is:
The plugin name, however, is a anonymous-like argument and I don't think it is possible to appear in any other positions except the head. |
Read the document information |
Merged. Thanks! 🎉 |
fix: ss obfsParams parsing index out of range
feat: support ss v2ray-plugin parsing
feat: support hy2 schema parsing