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
bce3c495
Commit
bce3c495
authored
May 12, 2021
by
IKEDA Soji
Browse files
Newlines in header fields added by ARC feature should be normalized (#1168)
parent
39e3006a
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lib/Sympa/Message.pm
View file @
bce3c495
...
...
@@ -629,6 +629,9 @@ sub arc_seal {
if
(
grep
{
$_
and
/\AARC-Seal:/i
}
@seal
)
{
foreach
my
$ahdr
(
reverse
@seal
)
{
my
(
$ah
,
$av
)
=
split
/:\s*/
,
$ahdr
,
2
;
# Normalize CRLF->LF for ARC header fields to avoid confusing the
# mail agent. See also the comment in dkim_sign().
$av
=~
s/\r\n/\n/g
;
$self
->
add_header
(
$ah
,
$av
,
0
);
}
}
...
...
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