Commit 90368b06 authored by IKEDA Soji's avatar IKEDA Soji
Browse files

Prevent loading sympa.conf if it contains backtick.

parent c4d11816
......@@ -1728,6 +1728,11 @@ sub _load_config_file_to_hash {
my ($keyword, $value) = ($1, $2);
$value =~ s/\s*$//;
# Deprecated syntax: `command`
if ($value =~ /^\`(.*)\`$/) {
die sprintf "%s: Backtick (`...`) in sympa.conf is no longer allowed. Check and modify configuration.\n", $value;
}
$keyword =
$Sympa::Config::Schema::obsolete_robot_params{$keyword}
// $keyword;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment