PathHelper.SecureCombine method

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