Commit 29c66ae8 authored by IKEDA Soji's avatar IKEDA Soji
Browse files

Suppress unuseful logs skipping urlization

parent a013916f
......@@ -1443,10 +1443,8 @@ sub _merge_msg {
}
# Check for attchment-part, which should not be changed
my $cdisposition = $entity->head->mime_attr('Content-Disposition');
if ($cdisposition and lc($cdisposition) eq 'attachment') {
$log->syslog('notice',
'Detected part with Content-Disposition. Not changing it!');
if ('attachment' eq
lc($entity->head->mime_attr('Content-Disposition') // '')) {
return $entity;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment