Skip to main content

Module path_safety

Module path_safety 

Source

Functionsยง

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