mirror of
https://github.com/NicolasBohn/NexQuant.git
synced 2026-07-27 23:47:46 +00:00
9f8cf622d8
- Validate job_folder is within base_path directory - Use .resolve() and .relative_to() for path validation - Catch ValueError and RuntimeError for invalid paths - Show user-friendly error message instead of crashing - Fixes GitHub Security Alert #5 (py/path-injection) Path traversal attacks via job_folder parameter are now prevented. Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>