Implement human / escaping for inventory folders as well as items
parent
6820cc93ec
commit
a3105a34ca
|
@ -115,7 +115,11 @@ namespace OpenSim.Region.CoreModules.Avatar.Inventory.Archiver
|
||||||
if (path == PATH_DELIMITER.ToString())
|
if (path == PATH_DELIMITER.ToString())
|
||||||
return startFolder;
|
return startFolder;
|
||||||
|
|
||||||
string[] components = path.Split(new string[] { PATH_DELIMITER.ToString() }, 2, StringSplitOptions.None);
|
string[] components = SplitEscapedPath(path);
|
||||||
|
components[0] = UnescapePath(components[0]);
|
||||||
|
|
||||||
|
//string[] components = path.Split(new string[] { PATH_DELIMITER.ToString() }, 2, StringSplitOptions.None);
|
||||||
|
|
||||||
InventoryCollection contents = inventoryService.GetFolderContent(startFolder.Owner, startFolder.ID);
|
InventoryCollection contents = inventoryService.GetFolderContent(startFolder.Owner, startFolder.ID);
|
||||||
|
|
||||||
foreach (InventoryFolderBase folder in contents.Folders)
|
foreach (InventoryFolderBase folder in contents.Folders)
|
||||||
|
|
Loading…
Reference in New Issue