diff --git a/websocket-sharp/Net/HttpUtility.cs b/websocket-sharp/Net/HttpUtility.cs index 3e771cf5..a02eb0aa 100644 --- a/websocket-sharp/Net/HttpUtility.cs +++ b/websocket-sharp/Net/HttpUtility.cs @@ -1236,9 +1236,7 @@ namespace WebSocketSharp.Net throw new ArgumentNullException ("bytes"); var len = bytes.Length; - return len > 0 - ? InternalUrlEncodeToBytes (bytes, 0, len) - : bytes; + return len > 0 ? urlEncodeToBytes (bytes, 0, len) : bytes; } public static byte[] UrlEncodeToBytes (byte[] bytes, int offset, int count)