Module path_safety

Module path_safety 

Source

Functionsยง

normalize_under_root
Normalize a user-supplied path and ensure it stays within an allowed root. Reject absolute paths and any that escape via ...