mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-19 02:47:27 +00:00
fix: harden include confinement edge cases (#18652) (thanks @aether-ai-agent)
This commit is contained in:
@@ -2435,7 +2435,7 @@ Split config into multiple files:
|
||||
- Array of files: deep-merged in order (later overrides earlier).
|
||||
- Sibling keys: merged after includes (override included values).
|
||||
- Nested includes: up to 10 levels deep.
|
||||
- Paths: relative (to the including file), absolute, or `../` parent references.
|
||||
- Paths: resolved relative to the including file, but must stay inside the top-level config directory (`dirname` of the main config file). Absolute/`../` forms are allowed only when they still resolve inside that boundary.
|
||||
- Errors: clear messages for missing files, parse errors, and circular includes.
|
||||
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user