From e1a5aca94a68731d5e35d9e7600c55c47c14df75 Mon Sep 17 00:00:00 2001 From: sta Date: Wed, 31 Oct 2018 20:17:39 +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 a4caada9..cbfe39fa 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 = pair.GetValue ('=').UrlDecode (); + cookie.Comment = HttpUtility.UrlDecode (pair.GetValue ('=')); } else if (pair.StartsWith ("commenturl", StringComparison.InvariantCultureIgnoreCase)) { if (cookie != null)