filebrowser/files
Henrique Dias 6b04cbf5e9
fix: allow writes when user scope resolves to filesystem root
WithinScope compared targets against root+separator, which produced
"//" when the scope resolved to "/". No path matched, so every write
was rejected with os.ErrPermission (HTTP 403), breaking saves and
uploads for root-scoped installs. Skip the appended separator when root
already ends in one.
2026-06-03 15:40:26 +02:00
..
file.go fix: allow writes when user scope resolves to filesystem root 2026-06-03 15:40:26 +02:00
file_test.go fix: allow writes when user scope resolves to filesystem root 2026-06-03 15:40:26 +02:00
listing.go ci: remove goconst 2025-06-27 08:03:11 +02:00
mime.go chore: remove 'nolint' comments 2025-11-15 09:01:21 +01:00
sorting.go feat: v2 (#599) 2019-01-05 22:44:33 +00:00
utils.go feat: allow disabling file detections by reading header (#1175) 2021-01-07 11:30:17 +01:00