Browse Source
Merge pull request #11151 from nextcloud/davclient-js-decode
fix js files client for user names with spaces
pull/11208/head
Joas Schilling
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
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); |
|
|
|
} |
|
|
|
|