diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2026-04-16 08:40:27 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-04-16 08:40:27 +0800 |
| commit | 56ed27d7181a479a03ffb4a3012d9a460191074f (patch) | |
| tree | 201b5042ab86becd03669960d6280e41402e016e /test/functional/vimscript/executable_spec.lua | |
| parent | d2fff0590a45e1ec2a23f3a091af4807b5cf08fd (diff) | |
vim-patch:351a16c: runtime(zip): also block single leading slash and absolute paths in Extract (#39094)
zip#Write(): the Windows path check did not match a single leading
slash (/path), which resolves to the current drive root on Windows.
Simplify the regex to match any leading slash or backslash.
zip#Extract(): add absolute path checks for both Unix and Windows,
matching the existing checks in zip#Write().
closes: vim/vim#19976
https://github.com/vim/vim/commit/351a16c88f56aeeca5e06095624dd701b264b2a9
Co-authored-by: q1uf3ng <q1uf3ng@protone.me>
Diffstat (limited to 'test/functional/vimscript/executable_spec.lua')
0 files changed, 0 insertions, 0 deletions
