mirror of
https://github.com/NicolasBohn/NexQuant.git
synced 2026-07-27 23:47:46 +00:00
5bd5416c27
- Validate base_path is within current working directory - Use .resolve() and .relative_to() for path validation - Reject paths outside project directory - Show user-friendly error message via Streamlit - Add security docstring explaining the fix - Fixes GitHub Security Alert #4 (py/path-injection) Path traversal attacks via base_path parameter are now prevented. Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>