mirror of
https://github.com/storytold/photocraft.git
synced 2026-12-02 06:20:48 +01:00
docs: distinguish absolute normalization from relative path syntax
This commit is contained in:
1 file changed
+6
-3
@@ -26,9 +26,12 @@ budgets. Headless previews have source-pixel, requested-edge, and encoded-PNG ce
|
||||
bridge bounds incoming reply frames and screenshot decoding.
|
||||
Automation file methods require separately configured read and write roots. Request paths may be
|
||||
relative or absolute beneath the canonical or configured spelling of the applicable granted root.
|
||||
Absolute paths are translated to relative paths and resolved through the held directory capability.
|
||||
Outside-root absolute paths, parent traversal, malformed relative components and link escapes are
|
||||
rejected before file effects.
|
||||
Absolute paths outside that root are rejected. Accepted absolute paths are translated to relative
|
||||
paths and resolved through the held directory capability. Relative requests reject empty or `.`
|
||||
components and alternate separators. Absolute requests are split into native path components
|
||||
before checking the root-relative remainder, so repeated separators and interior `.` components
|
||||
are normalized. Both forms reject parent traversal in the remainder, disallowed component names
|
||||
and link escapes before file effects.
|
||||
|
||||
**Known limitations:** the token is a bearer credential and grants the complete non-filesystem
|
||||
control surface. There is no encryption, client identity, general per-method capability check,
|
||||
|
||||
Reference in new issue
Block a user