missing file

master
UbitUmarov 2020-07-15 19:42:40 +01:00
parent 4bc74139a4
commit 4176e1491e
2 changed files with 1 additions and 2 deletions

View File

@ -1536,7 +1536,6 @@ namespace OpenSim.Framework
public static string SafeFileName(string filename)
{
return Regex.Replace(filename, regexInvalidFileChars, String.Empty);
;
}
//

View File

@ -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();