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
c4d11816
Commit
c4d11816
authored
Jan 19, 2021
by
IKEDA Soji
Browse files
Remove undocumented backtick syntax in sympa.conf that allows to execute arbitrary code
parent
e1555fc1
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lib/Conf.pm
View file @
c4d11816
...
...
@@ -1728,12 +1728,6 @@ sub _load_config_file_to_hash {
my
(
$keyword
,
$value
)
=
(
$
1
,
$
2
);
$value
=~
s/\s*$//
;
# Special case: `command`
if
(
$value
=~
/^\`(.*)\`$/
)
{
$value
=
qx/$1/
;
chomp
(
$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