Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Projets publics
Sympa
Commits
90368b06
Commit
90368b06
authored
Jan 23, 2021
by
IKEDA Soji
Browse files
Prevent loading sympa.conf if it contains backtick.
parent
c4d11816
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lib/Conf.pm
View file @
90368b06
...
...
@@ -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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment