fix js files client for user names with spaces
Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
parent
210b0f092f
commit
4491a41a72
|
@ -271,7 +271,7 @@
|
||||||
* @return {Array.<FileInfo>} array of file info
|
* @return {Array.<FileInfo>} array of file info
|
||||||
*/
|
*/
|
||||||
_parseFileInfo: function(response) {
|
_parseFileInfo: function(response) {
|
||||||
var path = response.href;
|
var path = decodeURIComponent(response.href);
|
||||||
if (path.substr(0, this._root.length) === this._root) {
|
if (path.substr(0, this._root.length) === this._root) {
|
||||||
path = path.substr(this._root.length);
|
path = path.substr(this._root.length);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue