diff options
author | Justin Clark-Casey (justincc) | 2009-11-09 16:12:13 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2009-11-09 16:12:13 +0000 |
commit | a3105a34cad1571ae6ab875be57a9da032bfbe59 (patch) | |
tree | a8c04e487fbff8add3e6b20fa7d894359c948668 | |
parent | refactor path delimiter in iar utils (diff) | |
download | opensim-SC_OLD-a3105a34cad1571ae6ab875be57a9da032bfbe59.zip opensim-SC_OLD-a3105a34cad1571ae6ab875be57a9da032bfbe59.tar.gz opensim-SC_OLD-a3105a34cad1571ae6ab875be57a9da032bfbe59.tar.bz2 opensim-SC_OLD-a3105a34cad1571ae6ab875be57a9da032bfbe59.tar.xz |
Implement human / escaping for inventory folders as well as items
-rw-r--r-- | OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveUtils.cs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveUtils.cs b/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveUtils.cs index 0fb5db2..78032d1 100644 --- a/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveUtils.cs +++ b/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveUtils.cs | |||
@@ -115,7 +115,11 @@ namespace OpenSim.Region.CoreModules.Avatar.Inventory.Archiver | |||
115 | if (path == PATH_DELIMITER.ToString()) | 115 | if (path == PATH_DELIMITER.ToString()) |
116 | return startFolder; | 116 | return startFolder; |
117 | 117 | ||
118 | string[] components = path.Split(new string[] { PATH_DELIMITER.ToString() }, 2, StringSplitOptions.None); | 118 | string[] components = SplitEscapedPath(path); |
119 | components[0] = UnescapePath(components[0]); | ||
120 | |||
121 | //string[] components = path.Split(new string[] { PATH_DELIMITER.ToString() }, 2, StringSplitOptions.None); | ||
122 | |||
119 | InventoryCollection contents = inventoryService.GetFolderContent(startFolder.Owner, startFolder.ID); | 123 | InventoryCollection contents = inventoryService.GetFolderContent(startFolder.Owner, startFolder.ID); |
120 | 124 | ||
121 | foreach (InventoryFolderBase folder in contents.Folders) | 125 | foreach (InventoryFolderBase folder in contents.Folders) |