mirror of
https://github.com/filebrowser/filebrowser.git
synced 2026-07-17 16:36:49 +00:00
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. |
||
|---|---|---|
| .. | ||
| file.go | ||
| file_test.go | ||
| listing.go | ||
| mime.go | ||
| sorting.go | ||
| utils.go | ||