diff --git a/MTSC/Common/Http/Cookie.cs b/MTSC/Common/Http/Cookie.cs index dd216be..5aad383 100644 --- a/MTSC/Common/Http/Cookie.cs +++ b/MTSC/Common/Http/Cookie.cs @@ -41,7 +41,7 @@ namespace MTSC.Common.Http this.Attributes = new Dictionary(); var cookieTokens = cookieString.Split(';'); this.Key = cookieTokens[0].Split('=')[0].Trim(); - this.Value = cookieTokens[1].Split('=')[1].Trim(); + this.Value = cookieTokens[0].Split('=')[1].Trim(); for(var i = 1; i < cookieTokens.Length; i++) { var attributeTokens = cookieTokens[i].Split('='); diff --git a/MTSC/MTSC.csproj b/MTSC/MTSC.csproj index 8aab0f0..38fb59e 100644 --- a/MTSC/MTSC.csproj +++ b/MTSC/MTSC.csproj @@ -5,13 +5,13 @@ netstandard2.0 - 5.4.0 + 5.4.1 latest Alexandru-Victor Macocian MTSC Modular TCP Server and Client - 5.4.0.0 - 5.4.0.0 + 5.4.1.0 + 5.4.1.0 true AnyCPU;x64 https://github.com/AlexMacocian/MTSC