[Libreoffice-commits] online.git: Branch 'distro/collabora/collabora-online-2-1' - loleaflet/src

Jan Holesovsky kendy at collabora.com
Tue Jan 9 10:52:29 UTC 2018


 loleaflet/src/control/Toolbar.js |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit aba8c09a29ff0ad1cdcf0ea3b5689e0d09db842e
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/47649
    Reviewed-by: pranavk <pranavk at collabora.co.uk>
    Tested-by: pranavk <pranavk at collabora.co.uk>

diff --git a/loleaflet/src/control/Toolbar.js b/loleaflet/src/control/Toolbar.js
index 337188a0..6d5e7ae9 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