sftpgo/internal/util
Nicola Murino e746a9bc54
fix: prevent path traversal via edge-level path normalization
Moved path sanitization (backslash conversion and path cleaning) to
the SFTP/FTP handlers before VFS routing and permission checks.

Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2026-03-06 15:27:30 +01:00
..
errors.go fix new lint warnings 2024-11-10 20:58:22 +01:00
i18n.go apply naming rules for related groups, roles and folders 2025-12-06 22:09:51 +01:00
resources.go remove obsoletes build constraints 2025-04-20 17:15:40 +02:00
resources_embedded.go remove obsoletes build constraints 2025-04-20 17:15:40 +02:00
util.go fix: prevent path traversal via edge-level path normalization 2026-03-06 15:27:30 +01:00
util_fallback.go remove end year from Copyright notice in files 2024-01-01 11:31:45 +01:00
util_unix.go remove end year from Copyright notice in files 2024-01-01 11:31:45 +01:00