mirror of
https://github.com/neovim/neovim.git
synced 2026-05-24 05:40:08 +00:00
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
351a16c88f
Co-authored-by: q1uf3ng <q1uf3ng@protone.me>