UploadPathHelper.CheckFileNameSecurity method
namespace: Serenity.Web assembly: Serenity.Net.Services
Checks file name security, e.g. it is a relative file (not rooted) that does not contain ".." etc.
public static void CheckFileNameSecurity(string path)
| parameter | description |
|---|---|
| path |
Exceptions
| exception | condition |
|---|---|
| ArgumentOutOfRangeException |
See Also
- class UploadPathHelper