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
fef332b1
Commit
fef332b1
authored
Sep 08, 2020
by
IKEDA Soji
Browse files
ARC :: signer died because of a malformed "Authentication-Results:" header field (#988)
parent
544db3fe
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lib/Sympa/Message.pm
View file @
fef332b1
...
...
@@ -610,9 +610,8 @@ sub arc_seal {
my
$msg_as_string
=
$self
->
as_string
;
$msg_as_string
=~
s/\r?\n/\r\n/g
;
$msg_as_string
=~
s/\r?\z/\r\n/
unless
$msg_as_string
=~
/\n\z/
;
$arc
->
PRINT
(
$msg_as_string
);
unless
(
$arc
->
CLOSE
)
{
$log
->
syslog
('
err
',
'
Cannot ARC seal message
');
unless
(
eval
{
$arc
->
PRINT
(
$msg_as_string
)
and
$arc
->
CLOSE
})
{
$log
->
syslog
('
err
',
'
Cannot ARC seal message: %s
',
$EVAL_ERROR
);
return
undef
;
}
$log
->
syslog
('
debug2
',
'
ARC %s: %s
',
$arc
->
{
result
},
...
...
@@ -729,9 +728,9 @@ sub check_arc_chain {
my
$msg_as_string
=
$self
->
as_string
;
$msg_as_string
=~
s/\r?\n/\r\n/g
;
$msg_as_string
=~
s/\r?\z/\r\n/
unless
$msg_as_string
=~
/\n\z/
;
$arc
->
PRINT
(
$msg_as_string
)
;
unless
(
$arc
->
CLOSE
)
{
$log
->
syslog
('
err
',
'
Cannot verify chain of (ARC) message
'
);
unless
(
eval
{
$arc
->
PRINT
(
$msg_as_string
)
and
$arc
->
CLOSE
})
{
$log
->
syslog
('
err
',
'
Cannot verify chain of (ARC) message: %s
',
$EVAL_ERROR
);
return
;
}
...
...
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