mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
updated for version 7.0110
This commit is contained in:
parent
f8c07b2712
commit
e7c5a15631
@ -5086,7 +5086,11 @@ mch_expand_wildcards(num_pat, pat, num_file, file, flags)
|
|||||||
/*
|
/*
|
||||||
* Don't allow the use of backticks in secure and restricted mode.
|
* Don't allow the use of backticks in secure and restricted mode.
|
||||||
*/
|
*/
|
||||||
if (secure || restricted)
|
if (secure || restricted
|
||||||
|
# ifdef HAVE_SANDBOX
|
||||||
|
|| sandbox != 0
|
||||||
|
# endif
|
||||||
|
)
|
||||||
for (i = 0; i < num_pat; ++i)
|
for (i = 0; i < num_pat; ++i)
|
||||||
if (vim_strchr(pat[i], '`') != NULL
|
if (vim_strchr(pat[i], '`') != NULL
|
||||||
&& (check_restricted() || check_secure()))
|
&& (check_restricted() || check_secure()))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user