Skip to main content

## resolve_path

# Function resolve_path

Source

    pub fn resolve_path(raw: &str, root: &Path) -> Resolved

Expand description

Resolve a percent-encoded request path to a file inside `root`.

`..` segments are folded away lexically rather than through `canonicalize`, so a missing file still resolves (and then 404s) instead of being reported as a scope violation.

TRACES: UR-071 | DR-137 | UT-127