commit | e7c5a156319e0bfc64d90367ca61ef5893a21c9d | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Tue Jul 19 22:14:07 2005 +0000 |
committer | Bram Moolenaar <Bram@vim.org> | Tue Jul 19 22:14:07 2005 +0000 |
tree | f2e6dca4160622df71b9872810155fa14ed21a34 | |
parent | f8c07b27126790dd9100229ac35e818d601b3dae [diff] [blame] |
updated for version 7.0110
diff --git a/src/os_unix.c b/src/os_unix.c index 9952266..01b6fad 100644 --- a/src/os_unix.c +++ b/src/os_unix.c
@@ -5086,7 +5086,11 @@ /* * 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()))