Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
sympa
sympa
Commits
9422095d
Commit
9422095d
authored
Sep 06, 2018
by
pveith
Browse files
Corrected the comparison. Changed == to eq and introduced lc.
parent
83265bae
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lib/Sympa/Message.pm
View file @
9422095d
...
...
@@ -1264,7 +1264,7 @@ sub _merge_msg {
# Check for attchment-part, which should not be changed
my
$cdisposition
=
$entity
->
head
->
mime_attr
('
Content-Disposition
');
if
(
$cdisposition
and
$cdisposition
==
'
attachment
')
{
if
(
$cdisposition
and
lc
(
$cdisposition
)
eq
'
attachment
')
{
$log
->
syslog
('
notice
',
'
Detected part with Content-Disposition. Not changing it!
');
return
$entity
;
}
...
...
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