diff --git a/websocket-sharp/Net/HttpUtility.cs b/websocket-sharp/Net/HttpUtility.cs index 28177f92..68273fc0 100644 --- a/websocket-sharp/Net/HttpUtility.cs +++ b/websocket-sharp/Net/HttpUtility.cs @@ -903,7 +903,7 @@ namespace WebSocketSharp.Net if (s.Length == 0) return; - output.Write (htmlAttributeEncode (s)); + output.Write (htmlEncode (s, true)); } ///