diff --git a/websocket-sharp/Net/HttpUtility.cs b/websocket-sharp/Net/HttpUtility.cs index 61654737..21287ab7 100644 --- a/websocket-sharp/Net/HttpUtility.cs +++ b/websocket-sharp/Net/HttpUtility.cs @@ -1029,7 +1029,7 @@ namespace WebSocketSharp.Net if (s == null) throw new ArgumentNullException ("s"); - return s.Length > 0 ? htmlEncode (s) : s; + return s.Length > 0 ? htmlEncode (s, false) : s; } public static void HtmlEncode (string s, TextWriter output)