Browse Source

Merge pull request #2364 from HirbodBehnam/master

Fixed a bug with + in query
tags/4.1.7
Allen Zhu GitHub 6 years ago
parent
commit
9a60980c16
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
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