Thomas,

Revision 3.0.02

Now I know why I was confused about whether HTML End Comment bug was fixed
in sub BombWeight. I had a domain in bombdatare and that domain was in one
of the test messages and was caught by BombWeight. However, other domains I
was expecting to be caught were not in bombdata and were not caught. When
the expected domains were not caught, I thought sub BombWeight was not
fixed. I was confusing two issues.

By mlog dump, HTML End Comment bug is fixed in sub BombWeight.

By mlog dump, HTML End Comment bug still exists in sub URIBLok. This is
same/similar bug as BombWeight. Converted text is missing everything after
HTML End Comment followed by end style as in:
--></style>

Here is my bug validation code from URIBLok. First I did just the mlog
dumps. Then I added the removal of the -->
===============================
my $rawtext;
$rawtext = $$bd;
mlog($fh, "Dump rawtext: " . $rawtext );
$rawtext =~ s/-->//go;
    my $data = &cleanMIMEBody2UTF8(\$rawtext);
mlog($fh, "Dump data: " . $data );
    if ($data) {
        my $head = &cleanMIMEHeader2UTF8(\$rawtext);
        $head =~ s/received:$HeaderValueRe//gio;
        $head =~ s/Message-ID:$HeaderValueRe//gio;
        $head =~ s/References:$HeaderValueRe//gio;
        $head =~ s/In-Reply-To:$HeaderValueRe//gio;
        $head =~ s/X-Assp-.+?:$HeaderValueRe//gio;
        $head =~ s/bcc:$HeaderValueRe//gio;
        $head =~ s/cc:$HeaderValueRe//gio;
        $head =~ s/\nto:$HeaderValueRe/\n/gios;
        $data = $head . $data;
    }
undef $rawtext;
===============================

Michael Thomas
Mathbox
978-687-3300
Toll Free: 1-877-MATHBOX (1-877-628-4269)


------------------------------------------------------------------------------
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
_______________________________________________
Assp-test mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/assp-test

Reply via email to