aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Communications/Capabilities/Caps.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework/Communications/Capabilities/Caps.cs')
-rw-r--r--OpenSim/Framework/Communications/Capabilities/Caps.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Framework/Communications/Capabilities/Caps.cs b/OpenSim/Framework/Communications/Capabilities/Caps.cs
index 8f41d62..5df6a06 100644
--- a/OpenSim/Framework/Communications/Capabilities/Caps.cs
+++ b/OpenSim/Framework/Communications/Capabilities/Caps.cs
@@ -553,7 +553,7 @@ namespace OpenSim.Region.Capabilities
553 { 553 {
554 Directory.CreateDirectory(assetPath); 554 Directory.CreateDirectory(assetPath);
555 } 555 }
556 FileStream fs = File.Create(Path.Combine(assetPath, filename)); 556 FileStream fs = File.Create(Path.Combine(assetPath, Util.safeFileName(filename)));
557 BinaryWriter bw = new BinaryWriter(fs); 557 BinaryWriter bw = new BinaryWriter(fs);
558 bw.Write(data); 558 bw.Write(data);
559 bw.Close(); 559 bw.Close();