Skip to content

Commit a2c8b3f

Browse files
Merge pull request #11151 from nextcloud/davclient-js-decode
fix js files client for user names with spaces
2 parents ef97ef7 + 4491a41 commit a2c8b3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/js/files/client.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@
271271
* @return {Array.<FileInfo>} array of file info
272272
*/
273273
_parseFileInfo: function(response) {
274-
var path = response.href;
274+
var path = decodeURIComponent(response.href);
275275
if (path.substr(0, this._root.length) === this._root) {
276276
path = path.substr(this._root.length);
277277
}

0 commit comments

Comments
 (0)