Hexret

Web Security · Authorization

Path canonicalization

Also known as: Path normalization

Produces a normalized or resolved path for comparison. .. segments can disappear, but a lexical API leaves symbolic links unresolved. Check the actual target against the allowed root, and handle changes between check and open.

Where you practice it

Related terms