From e7c5a156319e0bfc64d90367ca61ef5893a21c9d Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Tue, 19 Jul 2005 22:14:07 +0000 Subject: [PATCH] updated for version 7.0110 --- src/os_unix.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/os_unix.c b/src/os_unix.c index 9952266b3..01b6fad0a 100644 --- a/src/os_unix.c +++ b/src/os_unix.c @@ -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())) -- 2.50.1