diff options
Diffstat (limited to 'OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveReadRequest.cs')
-rw-r--r-- | OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveReadRequest.cs | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveReadRequest.cs b/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveReadRequest.cs index a535633..0a2e2e4 100644 --- a/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveReadRequest.cs +++ b/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveReadRequest.cs | |||
@@ -254,10 +254,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Inventory.Archiver | |||
254 | 254 | ||
255 | string newFolderName = rawDirsToCreate[i].Remove(identicalNameIdentifierIndex); | 255 | string newFolderName = rawDirsToCreate[i].Remove(identicalNameIdentifierIndex); |
256 | 256 | ||
257 | // Escape back characters | 257 | newFolderName = InventoryArchiveUtils.UnescapeArchivePath(newFolderName); |
258 | newFolderName = newFolderName.Replace("/", "/"); | ||
259 | newFolderName = newFolderName.Replace("&", "&"); | ||
260 | |||
261 | UUID newFolderId = UUID.Random(); | 258 | UUID newFolderId = UUID.Random(); |
262 | 259 | ||
263 | // Asset type has to be Unknown here rather than Folder, otherwise the created folder can't be | 260 | // Asset type has to be Unknown here rather than Folder, otherwise the created folder can't be |
@@ -338,10 +335,6 @@ namespace OpenSim.Region.CoreModules.Avatar.Inventory.Archiver | |||
338 | /// <param name="nodesLoaded">All the inventory nodes (items and folders) loaded so far</param> | 335 | /// <param name="nodesLoaded">All the inventory nodes (items and folders) loaded so far</param> |
339 | protected InventoryItemBase LoadItem(byte[] data, InventoryFolderBase loadFolder) | 336 | protected InventoryItemBase LoadItem(byte[] data, InventoryFolderBase loadFolder) |
340 | { | 337 | { |
341 | // Escape back characters | ||
342 | // filePath = filePath.Replace("/", "/"); | ||
343 | // filePath = filePath.Replace("&", "&"); | ||
344 | |||
345 | InventoryItemBase item = UserInventoryItemSerializer.Deserialize(data); | 338 | InventoryItemBase item = UserInventoryItemSerializer.Deserialize(data); |
346 | 339 | ||
347 | // Don't use the item ID that's in the file | 340 | // Don't use the item ID that's in the file |