Skip to main content

Module paths

Module paths 

Source
Expand description

Path validation shared by the sandbox-routed file tools.

Functionsยง

validate_absolute_path
Rejects a path that is not absolute (POSIX, or a Windows drive letter or UNC share) or that has a .. segment. Both / and \ separate segments, so a backslash cannot hide a traversal.