mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-25 04:24:51 -07:00
Re-enable backticks in shell tool usage. (#3360)
This commit is contained in:
@@ -123,13 +123,6 @@ Process Group PGID: Process group started or \`(none)\``,
|
||||
'Command substitution using $() is not allowed for security reasons',
|
||||
};
|
||||
}
|
||||
if (command.includes('`')) {
|
||||
return {
|
||||
allowed: false,
|
||||
reason:
|
||||
'Command substitution using backticks is not allowed for security reasons',
|
||||
};
|
||||
}
|
||||
|
||||
const SHELL_TOOL_NAMES = [ShellTool.name, ShellTool.Name];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user