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

New commits:
commit 05715547d9548e300e26f60aa671d9fb965dbead
Author: Jan Holesovsky <ke...@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/47648
    Reviewed-by: pranavk <pran...@collabora.co.uk>
    Tested-by: pranavk <pran...@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);
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to