[Libreoffice-commits] online.git: Branch 'libreoffice-6-0' - loleaflet/src

Jan Holesovsky kendy at collabora.com
Tue Jan 23 14:25:13 UTC 2018


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

New commits:
commit c02008ad919c35af6fed8f499bc56b4bb465a19c
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>
    (cherry picked from commit be59061b6d29ae37ec530aee55f02b103d8988b0)
    Reviewed-on: https://gerrit.libreoffice.org/48420
    Reviewed-by: Andras Timar <andras.timar at collabora.com>
    Tested-by: Andras Timar <andras.timar at collabora.com>

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