Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Please follow the guide below
You will be asked some questions, please read them carefully and answer honestly
Put an
x
into all the boxes [ ] relevant to your pull request (like that [x])Use Preview tab to see how your pull request will actually look like
Searched for similar pull requests
Compiled the code with Visual Studio
What is the purpose of your pull request?
Description of your pull request and other information
Hello
At first when getting a key value from
NameValueCollection
the URL will be decoded automatically. So there is no need ofHttpUtility.UrlDecode
.Secondly, try to parse this
ss://
URL withImport URL From Clipboard
:If you go to shadowsocks server's configs and look for plugin options you will notice that there is some white spaces. This is unexpected behavior because these white spaces should be
+
and somehowHttpUtility.UrlDecode
are replacing them with white space. So with this build I can successfully import my config without any issues.Also you can try decoding the parameter(from
?
to end) here. Notice the+
signs.