mirror of
https://github.com/NicolasBohn/NexQuant.git
synced 2026-07-28 16:07:46 +00:00
d0d854f7ee
- Use os.path.commonpath for normalized prefix comparison - Ensure resolved path is absolute before validation - Add explicit string comparison for safe_root containment - Fixes py/path-injection alert #20 - Preserves existing functionality