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
5dca2d4b
Commit
5dca2d4b
authored
Apr 06, 2019
by
IKEDA Soji
Browse files
[-bug] arc_seal() crashes if seal is skipped.
parent
7498dc13
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lib/Sympa/Message.pm
View file @
5dca2d4b
...
...
@@ -612,9 +612,11 @@ sub arc_seal {
# Seal is done. Add new headers for the seal
my
@seal
=
$arc
->
as_strings
();
foreach
my
$ahdr
(
@seal
)
{
my
(
$ah
,
$av
)
=
split
/:\s*/
,
$ahdr
,
2
;
$self
->
add_header
(
$ah
,
$av
,
0
);
if
(
grep
{
$_
and
/\AARC-Seal:/i
}
@seal
)
{
foreach
my
$ahdr
(
reverse
@seal
)
{
my
(
$ah
,
$av
)
=
split
/:\s*/
,
$ahdr
,
2
;
$self
->
add_header
(
$ah
,
$av
,
0
);
}
}
#$self->{_body} = $new_body;
delete
$self
->
{
_entity_cache
};
# Clear entity cache.
...
...
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