Clarify artifact root symlink behavior
This commit is contained in:
@@ -71,10 +71,13 @@ Input reference types currently supported by runtime artifact loading:
|
||||
- `inline`
|
||||
|
||||
HTTP `file` references require `server.artifact_root` or `serve --artifact-root`.
|
||||
Relative file URIs resolve inside that root. Absolute file URIs are accepted
|
||||
only when they remain inside the root. Requests that escape the root, including
|
||||
`..` traversal and absolute paths outside the root, return
|
||||
`400 artifact_not_allowed`. `inline` references do not require an artifact root.
|
||||
Relative file URIs resolve against that root. Absolute file URIs are accepted
|
||||
only when they are lexically inside the root. Requests that escape the root by
|
||||
lexical traversal, including `..` traversal and absolute paths outside the root,
|
||||
return `400 artifact_not_allowed`. Symlinks inside the root are followed by the
|
||||
operating system, including symlinks that point outside the root. The artifact
|
||||
root must not be writable by untrusted users. `inline` references do not require
|
||||
an artifact root.
|
||||
HTTP file artifacts above the configured artifact limit return
|
||||
`413 artifact_too_large`. Inline bodies are bounded by the request body limit.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user