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