This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository x2gohtmlclient. commit f64e06f166dc01653cf40e9122c4f99eb73f0d23 Author: Oleksandr Shneyder <o.shneyder@phoca-gmbh.de> Date: Mon Jun 21 18:17:49 2021 -0500 Send cookie as buffer instead of string. --- src/x2gokdrivehtmlclient.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/x2gokdrivehtmlclient.js b/src/x2gokdrivehtmlclient.js index 70884c8..8641ee6 100644 --- a/src/x2gokdrivehtmlclient.js +++ b/src/x2gokdrivehtmlclient.js @@ -497,8 +497,8 @@ X2GoKDriveHTMLClient sendCookie() { - //this creates "views" on buffer offset 0, length 5 elements - this.__websocket.send(this.__cookie); + let encoder = new TextEncoder(); + this.__websocket.send(encoder.encode(this.__cookie).buffer); } -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2gohtmlclient.git