mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-07 21:51:23 +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.
|
* @param {String} text The text to send.
|
||||||
*/
|
*/
|
||||||
this.sendText = function(text) {
|
this.sendText = function(text) {
|
||||||
|
if (text.length)
|
||||||
array_writer.sendData(__encode_utf8(text));
|
array_writer.sendData(__encode_utf8(text));
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user