mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 13:17:41 +00:00
GUACAMOLE-55: Do not attempt to send empty text blobs.
This commit is contained in:
@@ -170,6 +170,7 @@ Guacamole.StringWriter = function(stream) {
|
||||
* @param {String} text The text to send.
|
||||
*/
|
||||
this.sendText = function(text) {
|
||||
if (text.length)
|
||||
array_writer.sendData(__encode_utf8(text));
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user