Merge pull request #11151 from nextcloud/davclient-js-decode

fix js files client for user names with spaces
This commit is contained in:
Joas Schilling 2018-09-13 11:17:29 +02:00 коммит произвёл GitHub
Родитель ef97ef72f6 4491a41a72
Коммит a2c8b3f00b
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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);
}