-
Notifications
You must be signed in to change notification settings - Fork 16.4k
url encoded ipv6 SS-URI link cause shadowsocks-android crash 生成的二维码/URI导致 shadowsocks-android 崩溃 #1758
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
Comments
@chenshaoju 对, 用了 simple-obfs 才会这样。 |
此问题可能需要跨项目协调,请等待开发人员处理。 |
Reproduced the issue after enable the plug-in with ipv6 |
@celeron533 |
这个问题其实我也注意到了,但由于目前的老版本(非SIP002,SIP003)都没有加方括号,考虑到其他平台的兼容性,暂时不做处理 https://tools.ietf.org/html/rfc5952
https://tools.ietf.org/html/rfc3986
|
@celeron533 |
RFC里建议v6地址加括号 不过android读没括号的已经崩了~ |
Android版生成的QR是带方括号的 看来还是这边加上方括号比较妥当 |
Please try this build @zmz125000 . |
@celeron533 Testing passed |
@zmz125000 有空的话麻烦请看看IPv4和域名的识别情况,谢谢 |
It's been fixed via shadowsocks/shadowsocks-android@c64e15a |
Thanks @madeye ! I've also added brackets for SIP002 SIP003 server share protocol in Windows version. |
Please answer these questions before submitting your issue. Thanks! / 请按照以下格式描述你的问题
Version(release version or AppVeyor link) / 版本(正式版或基于AppVeyor的链接)
Shadowsocks-4.0.9
Environment(Operating system, .NET Framework, etc) / 操作环境(操作系统,.NET Framework等)
Steps you have tried / 操作步骤
注:用了 simple-obfs 才会这样
on shadowsocks-windows share ipv6 server config and scan qrcode using shadowsocks-android
What did you expect to see? / 期望的结果
ss://[method&password]@[fdc3:90ba:caaa:4e91::]:443
What did you see instead? / 实际结果
shadowsocks-android crash
ss://[method&password]@fdc3%3a90ba%3acaaa%3a4e91%3a%3a:443
Config and error log in detail (with all sensitive info masked) / 配置文件和日志文件(请隐去敏感信息)
The text was updated successfully, but these errors were encountered: