PathHelper.IsSecureRelativePath method
namespace: Serenity assembly: Serenity.Net.Core
Checks whether given path is a secure relative path
public static bool IsSecureRelativePath(string relativePath)
parameter | description |
---|---|
relativePath | Relative path |
Return Value
True if relative path looks safe
See Also
- class PathHelper