From 9b64c27ce218f5b93f408f4a0cf05f599f11f029 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 6ddd8b35558bc..9d3f5c4a3d610 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); }