0
0
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:
Bram Moolenaar 2005-07-19 22:14:07 +00:00
parent f8c07b2712
commit e7c5a15631

View File

@ -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.
*/
if (secure || restricted)
if (secure || restricted
# ifdef HAVE_SANDBOX
|| sandbox != 0
# endif
)
for (i = 0; i < num_pat; ++i)
if (vim_strchr(pat[i], '`') != NULL
&& (check_restricted() || check_secure()))