diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-02-08 14:34:10 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-02-08 14:34:10 +0100 |
commit | 8c62a08faf89663e5633dc5036cd8695c80f1075 (patch) | |
tree | af5faafe055ea91f652f006d05a29a2dd5c8521b /src/ex_cmds.c | |
parent | c6ddce3f2cf6daa3a545405373b661f8a9bccad9 (diff) | |
download | vim-git-8c62a08faf89663e5633dc5036cd8695c80f1075.tar.gz |
patch 8.1.0881: can execute shell commands in rvim through interfacesv8.1.0881
Problem: Can execute shell commands in rvim through interfaces.
Solution: Disable using interfaces in restricted mode. Allow for writing
file with writefile(), histadd() and a few others.
Diffstat (limited to 'src/ex_cmds.c')
-rw-r--r-- | src/ex_cmds.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ex_cmds.c b/src/ex_cmds.c index a3974c1ba..681ef422a 100644 --- a/src/ex_cmds.c +++ b/src/ex_cmds.c @@ -4775,7 +4775,7 @@ check_restricted(void) { if (restricted) { - emsg(_("E145: Shell commands not allowed in rvim")); + emsg(_("E145: Shell commands and some functionality not allowed in rvim")); return TRUE; } return FALSE; |