sanitize and validate name of file s3.
This commit is contained in:
@@ -145,5 +145,15 @@ namespace PoweredSoft.Storage.Physical
|
||||
if (!Directory.Exists(directoryPath))
|
||||
Directory.CreateDirectory(directoryPath);
|
||||
}
|
||||
|
||||
public bool IsFileNameAllowed(string fileName)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
public string SanitizeFileName(string key, string replacement)
|
||||
{
|
||||
return key;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user