Skip to content

Commit 13af5d0

Browse files
authored
Merge pull request #1053 from faust64/patch-1 by faust64
Truncate searchkey_list with long subject field.
2 parents 3392c83 + 739af93 commit 13af5d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/Sympa/List.pm

+1-1
Original file line numberDiff line numberDiff line change
@@ -6037,7 +6037,7 @@ sub _update_list_db {
60376037

60386038
my $name = $self->{'name'};
60396039
my $searchkey =
6040-
Sympa::Tools::Text::foldcase($self->{'admin'}{'subject'} || '');
6040+
substr( Sympa::Tools::Text::foldcase($self->{'admin'}{'subject'} || ''), 0, 255);
60416041
my $status = $self->{'admin'}{'status'};
60426042
my $robot = $self->{'domain'};
60436043

0 commit comments

Comments
 (0)