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

New commits:
commit b4ba3c9c553ac836007b2f1c3cb4a45280b61673
Author: Henry Castro <hcas...@collabora.com>
Date:   Thu Sep 29 17:57:17 2016 -0400

    loleaflet: fix mege mistakes

diff --git a/loleaflet/src/core/Socket.js b/loleaflet/src/core/Socket.js
index 937af32..9a6579e 100644
--- a/loleaflet/src/core/Socket.js
+++ b/loleaflet/src/core/Socket.js
@@ -12,7 +12,7 @@ L.Socket = L.Class.extend({
                        if (map.options.permission) {
                                map.options.docParams['permission'] = 
map.options.permission;
                        }
-                       this.socket = new WebSocket(map.options.server + 
'/lool/ws/' + map.options.doc + '?' + $.param(map.options.docParams));
+                       this.socket = new WebSocket(map.options.server + 
'/lool/' + encodeURIComponent(map.options.doc + '?' + 
$.param(map.options.docParams)) + '/ws');
                        this.socket.onerror = L.bind(this._onSocketError, this);
                        this.socket.onclose = L.bind(this._onSocketClose, this);
                        this.socket.onopen = L.bind(this._onSocketOpen, this);
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to