diff options
| author | MoonEyes <ducoinbenjamin@yahoo.fr> | 2026-12-02 13:22:25 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-12-02 13:22:25 +0000 |
| commit | 69cd4106ce292abdeba319787daeac0f2a5aa6ea (patch) | |
| tree | b001092de8b52cc6ca1a2d246b2e43235f44f3b9 /docs/lua-modding.md | |
| parent | 64d0d5398b58b16eb5edecd458d3f87395e457aa (diff) | |
| parent | 856615ce739cebed14c2ddc83cb5e5108aaadfb2 (diff) | |
D3D12-LUA-LINKS-STAY-IN-THE-FOLDER: require and the script refuse a link that leads out
Diffstat (limited to 'docs/lua-modding.md')
| -rw-r--r-- | docs/lua-modding.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/lua-modding.md b/docs/lua-modding.md index 9adb0fe15..aad61470c 100644 --- a/docs/lua-modding.md +++ b/docs/lua-modding.md | |||
| @@ -165,7 +165,7 @@ require("helper") -- helper.lua (or helper/init.lua; dots are folders) o | |||
| 165 | 165 | ||
| 166 | Files: only the mod's own folder, plain relative paths (no `..`, drive letters, streams or reserved device names; a | 166 | Files: only the mod's own folder, plain relative paths (no `..`, drive letters, streams or reserved device names; a |
| 167 | link that leads out is refused), reads up to 4 MiB, writes up to 1 MiB, never `mod.json` or a program (`.exe`, `.dll`, | 167 | link that leads out is refused), reads up to 4 MiB, writes up to 1 MiB, never `mod.json` or a program (`.exe`, `.dll`, |
| 168 | `.bat`, ...). There is no `io`. | 168 | `.bat`, ...). There is no `io`. The rule holds for `require` and for the script the manifest names, too. |
| 169 | 169 | ||
| 170 | ## The sandbox | 170 | ## The sandbox |
| 171 | 171 | ||