From 4491a41a72a0776303c14cc6a77c5d419c4c04c1 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Mon, 10 Sep 2018 22:37:01 +0200 Subject: [PATCH] fix js files client for user names with spaces Signed-off-by: Robin Appelman --- core/js/files/client.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/js/files/client.js b/core/js/files/client.js index 6ddd8b3555..9d3f5c4a3d 100644 --- a/core/js/files/client.js +++ b/core/js/files/client.js @@ -271,7 +271,7 @@ * @return {Array.} 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); }