Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Projets publics
Sympa
Commits
b69f3ac4
Unverified
Commit
b69f3ac4
authored
Dec 08, 2018
by
IKEDA Soji
Committed by
GitHub
Dec 08, 2018
Browse files
Merge pull request #491 from ikedas/issue-490 by ikedas
Crash in create_list_request when list name is missing #490
parents
fb2652d0
6b096817
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/lib/Sympa/Aliases.pm
View file @
b69f3ac4
...
...
@@ -93,8 +93,10 @@ sub check_new_listname {
my
$listname
=
shift
;
my
$robot_id
=
shift
;
die
'
bug in logic. Ask developer
'
unless
defined
$listname
and
length
$listname
;
unless
(
defined
$listname
and
length
$listname
)
{
$log
->
syslog
('
err
',
'
No listname
');
return
('
user
',
'
listname_needed
');
}
$listname
=
lc
$listname
;
...
...
src/lib/Sympa/Request/Handler/move_list.pm
View file @
b69f3ac4
...
...
@@ -60,7 +60,7 @@ sub _twist {
my
$robot_id
=
$request
->
{
context
};
my
$current_list
=
$request
->
{
current_list
};
my
$listname
=
lc
$request
->
{
listname
};
my
$listname
=
lc
(
$request
->
{
listname
}
||
'')
;
my
$mode
=
$request
->
{
mode
};
my
$pending
=
$request
->
{
pending
};
my
$notify
=
$request
->
{
notify
};
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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