Skip to content

PathHelper.IsSecureRelativeFile method

Checks whether the given path is a secure relative file.

public static bool IsSecureRelativeFile(string? relativeFile)
parameter description
relativeFile Relative file.

Return Value

True if the relative file looks safe.

See Also