missing file
parent
4bc74139a4
commit
4176e1491e
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue