[SpamCop.net - protecting the internet through technology]

[SC-Help] Re: Failed to parse HTML Head

Mike Easter MikeE at ster.invalid
Fri Jul 15 00:59:52 EDT 2005


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 : postmaster at corbina.net
abuse at corbina.net
Using abuse net on postmaster at corbina.net
abuse net corbina.net = admin at corbina.ru, abuse at corbina.net
Using best contacts admin at corbina.ru abuse at corbina.net



-- 
Mike Easter
kibitzer, not SC admin




More information about the SpamCop-Help mailing list