From c708209d8887c0dae0ddc3120fb514bdc2aa1281 Mon Sep 17 00:00:00 2001 From: sta Date: Tue, 11 Dec 2018 19:54:17 +0900 Subject: [PATCH] [Modify] Replace it --- websocket-sharp/Net/CookieCollection.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/websocket-sharp/Net/CookieCollection.cs b/websocket-sharp/Net/CookieCollection.cs index 0aaf456a..417b8fd0 100644 --- a/websocket-sharp/Net/CookieCollection.cs +++ b/websocket-sharp/Net/CookieCollection.cs @@ -332,7 +332,7 @@ namespace WebSocketSharp.Net } else if (pair.StartsWith ("comment", StringComparison.InvariantCultureIgnoreCase)) { if (cookie != null) - cookie.Comment = HttpUtility.UrlDecode (pair.GetValue ('=')); + cookie.Comment = urlDecode (pair.GetValue ('='), Encoding.UTF8); } else if (pair.StartsWith ("commenturl", StringComparison.InvariantCultureIgnoreCase)) { if (cookie != null)