mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
missing file
This commit is contained in:
@@ -1536,7 +1536,6 @@ namespace OpenSim.Framework
|
||||
public static string SafeFileName(string filename)
|
||||
{
|
||||
return Regex.Replace(filename, regexInvalidFileChars, String.Empty);
|
||||
;
|
||||
}
|
||||
|
||||
//
|
||||
|
||||
@@ -2185,7 +2185,7 @@ namespace OpenSim.Region.ClientStack.Linden
|
||||
{
|
||||
Directory.CreateDirectory(assetPath);
|
||||
}
|
||||
FileStream fs = File.Create(Path.Combine(assetPath, Util.safeFileName(filename)));
|
||||
FileStream fs = File.Create(Path.Combine(assetPath, Util.SafeFileName(filename)));
|
||||
BinaryWriter bw = new BinaryWriter(fs);
|
||||
bw.Write(data);
|
||||
bw.Close();
|
||||
|
||||
Reference in New Issue
Block a user