From: Bram Moolenaar Date: Tue, 19 Jul 2005 22:14:07 +0000 (+0000) Subject: updated for version 7.0110 X-Git-Tag: v7.0110~4 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e7c5a156319e0bfc64d90367ca61ef5893a21c9d;p=vim updated for version 7.0110 --- 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()))