mirror of
https://github.com/neovim/neovim.git
synced 2024-12-25 21:55:17 -07:00
6f7bb02e7f
Problem: zip-plugin has problems with special characters
(user202729)
Solution: escape '*?[\' on Unix and handle those chars
a bit differently on MS-Windows, add a test, check
before overwriting files
runtime(zip): small fixes for zip plugin
This does the following:
- verify the unzip plugin is executable when loading the autoload plugin
- handle extracting file names with '[*?\' in its name correctly by
escaping those characters for the unzip command (and handle those
characters a bit differently on MS-Windows, since the quoting is different)
- verify, that the extract plugin is not overwriting a file (could cause
a hang, because unzip asking for confirmation)
- add a test zip file which contains those special file names
fixes: vim/vim#15505
closes: vim/vim#15519
|
||
---|---|---|
.. | ||
box.txt | ||
matchparen.vim | ||
quickfix.txt | ||
re.freeze.txt | ||
test.zip | ||
testa.zip |