mirror of
https://github.com/MailScanner/v5.git
synced 2024-09-20 15:26:08 +08:00
Fix typo in Message.pm
Existing code appends $phishingtag if where is 'end' but prepends $disarmtag if where is 'start'. It should append/prepend $phishingtag in both cases
This commit is contained in:
parent
f84aa841a7
commit
75848cc1f8
|
@ -5193,9 +5193,9 @@ sub DeliverUnmodifiedBody {
|
|||
#print STDERR "end\n";
|
||||
$global::MS->{mta}->AppendHeader($this, 'Subject:', $phishingtag, ' ');
|
||||
$subjectchanged = 1;
|
||||
} elsif ($where =~ /start|1/ && !$global::MS->{mta}->TextStartsHeader($this, 'Subject:', $disarmtag)) {
|
||||
} elsif ($where =~ /start|1/ && !$global::MS->{mta}->TextStartsHeader($this, 'Subject:', $phishingtag)) {
|
||||
#print STDERR "start\n";
|
||||
$global::MS->{mta}->PrependHeader($this, 'Subject:', $disarmtag, ' ');
|
||||
$global::MS->{mta}->PrependHeader($this, 'Subject:', $phishingtag, ' ');
|
||||
$subjectchanged = 1;
|
||||
}
|
||||
#}
|
||||
|
|
Loading…
Reference in a new issue