From a1d0d361852980a0784b4655e7e696d319d87563 Mon Sep 17 00:00:00 2001 From: sta Date: Tue, 2 Oct 2018 19:46:05 +0900 Subject: [PATCH] [Modify] Replace it --- websocket-sharp/Net/HttpUtility.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/websocket-sharp/Net/HttpUtility.cs b/websocket-sharp/Net/HttpUtility.cs index 83ba1645..28177f92 100644 --- a/websocket-sharp/Net/HttpUtility.cs +++ b/websocket-sharp/Net/HttpUtility.cs @@ -889,7 +889,7 @@ namespace WebSocketSharp.Net if (s == null) throw new ArgumentNullException ("s"); - return s.Length > 0 ? htmlAttributeEncode (s) : s; + return s.Length > 0 ? htmlEncode (s, true) : s; } public static void HtmlAttributeEncode (string s, TextWriter output)