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

feat: allow unencoded userinfo as per SIP002 #260

Merged
merged 5 commits into from
Jul 16, 2024
Merged

Conversation

sbruens
Copy link
Contributor

@sbruens sbruens commented Jul 15, 2024

Encoding userinfo with Base64URL is optional. See https://shadowsocks.org/doc/sip002.html#sip002-uri-scheme.

@sbruens sbruens requested a review from fortuna July 15, 2024 19:35
x/config/shadowsocks.go Outdated Show resolved Hide resolved
x/config/shadowsocks.go Outdated Show resolved Hide resolved
x/config/config_test.go Outdated Show resolved Hide resolved
@sbruens sbruens force-pushed the sbruens/optional-b64 branch from eb3f837 to 435f8a3 Compare July 15, 2024 21:41
@sbruens sbruens requested a review from fortuna July 15, 2024 21:42
@sbruens sbruens merged commit e157b30 into main Jul 16, 2024
6 checks passed
@sbruens sbruens deleted the sbruens/optional-b64 branch July 16, 2024 00:50
amircybersec pushed a commit that referenced this pull request Sep 6, 2024
* feat: allow unencoded `userinfo` as per SIP002

* Move shadowsocks config tests to `shadowsocks_test.go` and clean up.

* Review comment.

* Add test case for invalid cipher info (e.g. missin colon).

* Remove unnecessary prefix in test.
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

Successfully merging this pull request may close these issues.

2 participants