mirror of
https://github.com/NicolasBohn/NexQuant.git
synced 2026-08-05 03:07:42 +00:00
7993a2398a
- 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