mirror of
https://github.com/yusing/godoxy.git
synced 2026-04-13 04:30:15 +02:00
Use os.OpenRoot to restrict file access to the application root, preventing directory traversal attacks through the file download endpoint. Also add test to verify path traversal attempts are blocked.