diff --git a/core/rfb.js b/core/rfb.js index c71b0a68..41e8c4ce 100644 --- a/core/rfb.js +++ b/core/rfb.js @@ -2497,6 +2497,10 @@ export default class RFB extends EventTargetMixin { for (let i = 0; i < num; i++) { + if (this._sock.rQwait("Binary Clipboard op id", 4, buffByteLen)) { return false; } + buffByteLen += 4; + let clipid = this._sock.rQshift32(); + if (this._sock.rQwait("Binary Clipboard mimelen", 1, buffByteLen)) { return false; } buffByteLen++; let mimelen = this._sock.rQshift8(); @@ -2537,10 +2541,10 @@ export default class RFB extends EventTargetMixin { ); } - if (!this.clipboardBinary) { continue; } + Log.Info("Processed binary clipboard (ID: " + clipid + ") of MIME " + mime + " of length " + len); + + if (!this.clipboardBinary) { continue; } - Log.Info("Processed binary clipboard of MIME " + mime + " of length " + len); - clipItemData[mime] = new Blob([data], { type: mime }); break; default: diff --git a/vnc_lite.html b/vnc_lite.html deleted file mode 100644 index 422ffd5a..00000000 --- a/vnc_lite.html +++ /dev/null @@ -1,182 +0,0 @@ - - -
- - -