loleaflet/src/layer/tile/TileLayer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 0734ab1c627447fd982694fae1a3dc0dd1988149 Author: Szymon Kłos <szymon.k...@collabora.com> AuthorDate: Wed Sep 16 12:53:43 2020 +0200 Commit: Szymon Kłos <szymon.k...@collabora.com> CommitDate: Wed Sep 16 13:57:54 2020 +0200 Revert "Encode wopisrc part in download link" This reverts commit e25379af2295f2e4356e8a12a28d66a28f2446a5. Reason for revert: change didn't help Change-Id: I6312b3762f108ba3984d5ec8ca8e9becab3696f3 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/102761 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com> Reviewed-by: Szymon Kłos <szymon.k...@collabora.com> diff --git a/loleaflet/src/layer/tile/TileLayer.js b/loleaflet/src/layer/tile/TileLayer.js index cd7fe7e83..bdd3f3486 100644 --- a/loleaflet/src/layer/tile/TileLayer.js +++ b/loleaflet/src/layer/tile/TileLayer.js @@ -923,7 +923,7 @@ L.TileLayer = L.GridLayer.extend({ var wopiSrc = ''; if (this._map.options.wopiSrc != '') { - wopiSrc = '?WOPISrc=' + encodeURIComponent(this._map.options.wopiSrc); + wopiSrc = '?WOPISrc=' + this._map.options.wopiSrc; } var url = this._map.options.webserver + this._map.options.serviceRoot + '/' + this._map.options.urlPrefix + '/' + encodeURIComponent(this._map.options.doc) + '/download/' + command.downloadid + wopiSrc; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits