AW: Inline HTML Warning Bug
Berlakovich Felix (OeRK-W)
Felix.Berlakovich at w.roteskreuz.at
Thu Mar 2 07:49:40 UTC 2017
Hi!
> I would make it
>
> $line =~ s/\<html[^>]*\>/$&$warning/i;
>
> or possibly even
>
> $line =~ s/\<html( [^>]*)?\>/$&$warning/i;
>
> But even these won't match if the <html tag isn't closed on the same line, so
> maybe even
>
> $line =~ s/\<html( [^>]*)?(\>|$)/$&$warning/i;
>
> but I haven't tested any of this.
I have tested the last one and it works fine, thanks for the feedback! Should I open a bug on GitHub?
Regards
Felix
More information about the MailScanner
mailing list