upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/scripts/export_github_metadata.py
diff options
context:
space:
mode:
authorimShangLi <imshangli@users.noreply.github.com>2026-12-02 13:31:21 +0800
committerimShangLi <imshangli@users.noreply.github.com>2026-12-02 13:31:21 +0800
commite32da83804c7efe15827f073072b6a19214248b1 (patch)
tree2217cddfbacb66ac3118e0c46823ee2a7f105420 /scripts/export_github_metadata.py
parent8422def759cda12c89f918438eeb8d53dd5972a6 (diff)
D3D12-LUA-LINKS-STAY-IN-THE-FOLDER: require and the script refuse a link that leads out
require() joined the module name to the mod's folder and asked is_file(), which follows links, and the manifest's script was read the same way: a link inside the folder led to a file outside it, which was then run as Lua in the mod's environment. leonida.read_file and write_file already refused that through inside(); the check now lives in manifest::inside() and every path to a file of the mod's own folder goes through it.
Diffstat (limited to 'scripts/export_github_metadata.py')
0 files changed, 0 insertions, 0 deletions