summaryrefslogtreecommitdiffstats
path: root/core/js/files
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2018-09-10 22:37:01 +0200
committerRobin Appelman <robin@icewind.nl>2018-09-10 22:37:01 +0200
commit4491a41a72a0776303c14cc6a77c5d419c4c04c1 (patch)
treeed5298c0bda573bdad815cee69d09c0c9d4026c8 /core/js/files
parent210b0f092f93fa30f5c3542f684e55cc3ba5532f (diff)
downloadnextcloud-server-4491a41a72a0776303c14cc6a77c5d419c4c04c1.tar.gz
nextcloud-server-4491a41a72a0776303c14cc6a77c5d419c4c04c1.zip
fix js files client for user names with spaces
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'core/js/files')
-rw-r--r--core/js/files/client.js2
1 files changed, 1 insertions, 1 deletions
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);
}