-
-
Notifications
You must be signed in to change notification settings - Fork 11.6k
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
By QRCode scanning, new created profile's name was truncated with only the first part left. #1449
Comments
I don't think white space is legal in a URI. |
Yes, you're right. White spaces is not legal in URI, but legal in profile name.
Currently, the fragment is separated by plus
So, how's about encode the fragment part into base64 too? Or ... SIP002 improve is needed? See, SIP002. |
Or, we just choose to support this kind of illegal URI? |
Or, maybe we can define the plus mark as a translated-white-space? I mean, the white spaces are translated into |
Use standard URL encoding schemes for special characters. |
More specifically, it'd be |
Environment
What did you do?
Try to add profile, see below, by scanning QR.
uri 1
ss://[email protected]:8388#part1 & part2
uri 2
ss://[email protected]:8388#part1
QR code 1
QR code 2
Whichever the qrcode I scan, the shadowsocks-android only create a profile with name
part1
. The& part2
is always truncated.I've tried the qr codes with ZXing teams' Barcode Scanner from Google Play, it works fine.
The text was updated successfully, but these errors were encountered: