From a878d410d32d828b202788bafe5e510326960d1c Mon Sep 17 00:00:00 2001 From: sta Date: Tue, 30 Oct 2018 20:24:06 +0900 Subject: [PATCH] [Modify] Replace it --- websocket-sharp/Net/Cookie.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/websocket-sharp/Net/Cookie.cs b/websocket-sharp/Net/Cookie.cs index fffc5273..03ec6687 100644 --- a/websocket-sharp/Net/Cookie.cs +++ b/websocket-sharp/Net/Cookie.cs @@ -670,7 +670,7 @@ namespace WebSocketSharp.Net } if (!_comment.IsNullOrEmpty ()) - output.AppendFormat ("; Comment={0}", _comment.UrlEncode ()); + output.AppendFormat ("; Comment={0}", HttpUtility.UrlEncode (_comment)); if (_commentUri != null) { var url = _commentUri.OriginalString;