mirror of
https://github.com/yusing/godoxy.git
synced 2026-03-19 15:54:14 +01: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.