PathHelper.SecureCombine method
namespace: Serenity assembly: Serenity.Net.Core
Combines a path and filename checking security
public static string SecureCombine(string root, string relativePath)
parameter | description |
---|---|
root | Root path |
relativePath | Relative path. Should not be rooted, not containing .. etc. |
Return Value
Combined path
See Also
- class PathHelper