Mercurial > vim
view SECURITY.md @ 35902:13394fa0ebb1
runtime(zip): escape '[' on Unix as well
Commit: https://github.com/vim/vim/commit/c5bdd66558b14f04424a22d9714a9b7d0c277dac
Author: zeertzjq <zeertzjq@outlook.com>
Date: Sun Aug 4 18:35:50 2024 +0200
runtime(zip): escape '[' on Unix as well
Problem: After 6f1cbfc9ab483a09877e153ad130164875c40b1d fnameescape()
is no longer called on the name of the file to be extracted.
However, while spaces indeed don't need to be escaped, unzip
treats '[' as a wildcard character, so it need to be escaped.
Solution: Escape '[' on both MS-Windows and Unix.
From the docs it seems '*' and '?' also need escaping, but they seem to
actually work without escaping.
fixes: neovim/neovim#29977
closes: #15427
Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 04 Aug 2024 18:45:09 +0200 |
parents | 13e4398925ea |
children |
line wrap: on
line source
# Security Policy ## Reporting a vulnerability If you want to report a security issue, please privately disclose the issue to the vim-security mailing list vim-security@googlegroups.com This is a private list, read only by the maintainers, but anybody can post, after moderation. **Please don't publicly disclose the issue until it has been addressed by us.**