From 4491a41a72a0776303c14cc6a77c5d419c4c04c1 Mon Sep 17 00:00:00 2001 From: Robin Appelman <robin@icewind.nl> Date: Mon, 10 Sep 2018 22:37:01 +0200 Subject: fix js files client for user names with spaces Signed-off-by: Robin Appelman <robin@icewind.nl> --- core/js/files/client.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/js') diff --git a/core/js/files/client.js b/core/js/files/client.js index 6ddd8b35558..9d3f5c4a3d6 100644 --- a/core/js/files/client.js +++ b/core/js/files/client.js @@ -271,7 +271,7 @@ * @return {Array.<FileInfo>} array of file info */ _parseFileInfo: function(response) { - var path = response.href; + var path = decodeURIComponent(response.href); if (path.substr(0, this._root.length) === this._root) { path = path.substr(this._root.length); } -- cgit v1.2.3