Browse Source

Fixed a bug with + in query

tags/4.1.7
Hirbod 5 years ago
parent
commit
495731e090
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      shadowsocks-csharp/Model/Server.cs

+ 1
- 1
shadowsocks-csharp/Model/Server.cs View File

@@ -169,7 +169,7 @@ namespace Shadowsocks.Model
server.password = userInfoParts[1];
NameValueCollection queryParameters = HttpUtility.ParseQueryString(parsedUrl.Query);
string[] pluginParts = HttpUtility.UrlDecode(queryParameters["plugin"] ?? "").Split(new[] { ';' }, 2);
string[] pluginParts = (queryParameters["plugin"] ?? "").Split(new[] { ';' }, 2);
if (pluginParts.Length > 0)
{
server.plugin = pluginParts[0] ?? "";


Loading…
Cancel
Save