[Libreoffice-commits] online.git: loleaflet/src
Jan Holesovsky
kendy at collabora.com
Tue Jan 9 10:51:59 UTC 2018
loleaflet/src/control/Toolbar.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit be59061b6d29ae37ec530aee55f02b103d8988b0
Author: Jan Holesovsky <kendy at collabora.com>
Date: Tue Jan 9 11:47:34 2018 +0100
loleaflet: The document name must not contain spaces.
Change-Id: Icd6815c5644d42c009bb003cecc100527f6ee0a4
Reviewed-on: https://gerrit.libreoffice.org/47650
Reviewed-by: Jan Holesovsky <kendy at collabora.com>
Tested-by: Jan Holesovsky <kendy at collabora.com>
diff --git a/loleaflet/src/control/Toolbar.js b/loleaflet/src/control/Toolbar.js
index 0c8e7fd6..29c89e97 100644
--- a/loleaflet/src/control/Toolbar.js
+++ b/loleaflet/src/control/Toolbar.js
@@ -73,7 +73,7 @@ L.Map.include({
this.showBusy(_('Downloading...'), false);
this._socket.sendMessage('downloadas ' +
- 'name=' + name + ' ' +
+ 'name=' + encodeURIComponent(name) + ' ' +
'id=' + id + ' ' +
'format=' + format + ' ' +
'options=' + options);
More information about the Libreoffice-commits
mailing list