aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/Avatar
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2009-11-09 16:12:13 +0000
committerJustin Clark-Casey (justincc)2009-11-09 16:12:13 +0000
commita3105a34cad1571ae6ab875be57a9da032bfbe59 (patch)
treea8c04e487fbff8add3e6b20fa7d894359c948668 /OpenSim/Region/CoreModules/Avatar
parentrefactor path delimiter in iar utils (diff)
downloadopensim-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
Diffstat (limited to 'OpenSim/Region/CoreModules/Avatar')
-rw-r--r--OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveUtils.cs6
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)