Re: Failed to parse HTML Head

"Mike Easter" <[email protected]>
Newsgroups gmane.mail.spam.spamcop.help,gmane.spam.detected
Organization SpamCop
Message-ID <[email protected]>
Geoff Lane wrote:
> tracker: http://www.spamcop.net/sc?
> id=z785942629z3962ecd67a466a51942bd4514c9d2268z
>
> In the above report, SC refused to parse the HTML Head section and
> instead returned an error.

Correct, SC sez

Finding links in message body
Recurse multipart:
   Recurse multipart:
      Parsing text part
      Parsing HTML part
error: couldn't parse head
Message body parser requires full, accurate copy of message
More information on this error..
no links found

The problem is in the structure of the mime within/around the mime.

The header sez: <where I've replaced the two different boundary
delimitors below with A & B for emphasis and brevity and removed the
actual text and html content>

Content-Type: multipart/related;
    type="multipart/alternative";
    boundary="NextPartA"

Then, in the body we see the 'wrapper' for the inner mime structure,
note line *

---NextPartA
* Content-Type: multipart/alternative;
    boundary="NextPartB"

--NextPartB
Content-Type: text/plain;

--NextPartB
Content-Type: text/html;

--NextPartB
--NextPartA

The problem is that the wrapper/delimitor for the inner mime structure
at the * should say 'Content-Type: text/html'

If I make/forge that change, everything parses properly:

http://www.spamcop.net/sc?id=z786087094z2665f33efee612bfa51e48dbb997a16az

<I've cancelled the report>

Resolving link obfuscation
http://www.soft-dream.com
   host www.soft-dream.com (checking ip) = 85.21.41.2
   host 85.21.41.2 (getting name) no name
http://www.soft-dream.com/uns.htm

Tracking link: http://www.soft-dream.com
[report history]
Resolves to 85.21.41.2
Routing details for 85.21.41.2
[refresh/show] Cached whois for 85.21.41.2 : [email protected]
[email protected]
Using abuse net on [email protected]
abuse net corbina.net = [email protected], [email protected]
Using best contacts [email protected] [email protected]



-- 
Mike Easter
kibitzer, not SC admin
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.