Skip to content

Commit

Permalink
Merge pull request #11152 from nextcloud/davclient-js-decode-14
Browse files Browse the repository at this point in the history
[14] fix js files client for user names with spaces
  • Loading branch information
skjnldsv authored Sep 11, 2018
2 parents e296f7d + 9b64c27 commit 5209348
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/js/files/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 5209348

Please sign in to comment.