summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorJoas Schilling <213943+nickvergessen@users.noreply.github.com>2018-09-13 11:17:29 +0200
committerGitHub <noreply@github.com>2018-09-13 11:17:29 +0200
commita2c8b3f00bb9140800c4a596defc9d9cb37bb893 (patch)
tree0c051f6a2ee217535d784bc18180c1288513df9a /core
parentef97ef72f6a505430b2e71dc44f3433167b5500c (diff)
parent4491a41a72a0776303c14cc6a77c5d419c4c04c1 (diff)
downloadnextcloud-server-a2c8b3f00bb9140800c4a596defc9d9cb37bb893.tar.gz
nextcloud-server-a2c8b3f00bb9140800c4a596defc9d9cb37bb893.zip
Merge pull request #11151 from nextcloud/davclient-js-decode
fix js files client for user names with spaces
Diffstat (limited to 'core')
-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);
}