Synced
PathBoundary.Resolve
Section titled “PathBoundary.Resolve”
- Resolves a relative path beneath a root and rejects traversal outside that root.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Core.IO
Declaration
Section titled “Declaration”public static string Inno.Core.IO.PathBoundary.Resolve(string root, string relativePath)Parameters
Section titled “Parameters”Parameter root: The owning root directory.
Parameter relativePath: The relative path to resolve.
Returns
Section titled “Returns”The normalized absolute contained path.