PathHelper.IsSecureRelativePath method

namespace: Serenity   assemblySerenity.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