Add contained home file endpoint

This commit is contained in:
2026-11-07 00:53:15 +00:00
parent f4ba2ab25e
commit bfe89432bb
6 changed files with 225 additions and 1 deletions
+7
View File
@@ -0,0 +1,7 @@
# Files panel
The server's `GET /files?path=...` endpoint serves one regular file for the
client files panel. Paths may be absolute or `~`-prefixed, and are resolved
through the operator home directory; cleaned paths and symlinks are required to
remain inside that home subtree. Directories, special files, and escape paths
are refused. Add `download=1` to request attachment disposition.