[Libreoffice-commits] online.git: Branch 'distro/collabora/co-4-2' - wsd/ClientSession.cpp
mert (via logerrit)
logerrit at kemper.freedesktop.org
Thu Sep 17 09:40:57 UTC 2020
wsd/ClientSession.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit e4c65866cccbbd87a68f52d791cd0e2973580928
Author: mert <mert.tumer at collabora.com>
AuthorDate: Thu Sep 17 11:51:16 2020 +0300
Commit: Andras Timar <andras.timar at collabora.com>
CommitDate: Thu Sep 17 11:40:36 2020 +0200
fix loadwithpassword parsing password token on mobile
Change-Id: Ia3ca58f9fb08b9d1568feb2655cd03e17bf92b5a
Signed-off-by: mert <mert.tumer at collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/102905
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
Reviewed-by: Andras Timar <andras.timar at collabora.com>
diff --git a/wsd/ClientSession.cpp b/wsd/ClientSession.cpp
index c00c7dbea..9b5ed4998 100644
--- a/wsd/ClientSession.cpp
+++ b/wsd/ClientSession.cpp
@@ -400,7 +400,7 @@ bool ClientSession::_handleInput(const char *buffer, int length)
if (!docPassword.empty())
{
setHaveDocPassword(true);
- setDocPassword(tokens[1]);
+ setDocPassword(docPassword);
}
}
return loadDocument(buffer, length, tokens, docBroker);
More information about the Libreoffice-commits
mailing list