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
2ceea136
Unverified
Commit
2ceea136
authored
May 24, 2019
by
Luc Didry
Browse files
Don’t capture extra spaces at the end of line in topics.conf
May fix #581
parent
4be974c3
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lib/Sympa/Robot.pm
View file @
2ceea136
...
@@ -227,7 +227,7 @@ sub load_topics {
...
@@ -227,7 +227,7 @@ sub load_topics {
'
name
'
=>
lc
(
$
1
),
'
name
'
=>
lc
(
$
1
),
'
order
'
=>
$index
'
order
'
=>
$index
};
};
}
elsif
(
$line
=~
/^([\w\.]+)\s+(.+)\s*$/
)
{
}
elsif
(
$line
=~
/^([\w\.]+)\s+(.+
\S
)\s*$/
)
{
next
unless
defined
$topic
->
{'
name
'};
next
unless
defined
$topic
->
{'
name
'};
$topic
->
{
$
1
}
=
$
2
;
$topic
->
{
$
1
}
=
$
2
;
...
...
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