[prev in list] [next in list] [prev in thread] [next in thread] 

List:       sylpheed
Subject:    [sylpheed:26418] html_get_tag syntax error
From:       Rich Coe <Richard.Coe () med ! ge ! com>
Date:       2005-11-22 18:34:29
Message-ID: 20051122123429.1fc85272.Richard.Coe () med ! ge ! com
[Download RAW message or body]

Hi Hiroyuki,

I kept seeing this error, 
> (sylpheed:4947): LibSylph-WARNING **: html_get_tag(): syntax error in tag: 'IMG height=16
>  alt='Inactive hide details for "LName, FName (Name of Biz..)" <FName.LName@some.dom.mail'

so I investigated it and found this from the source e-mail
> November.<BR><BR>steve<BR><BR><IMG height=16 
> alt='Inactive hide details for "LName, FName (Name of Biz..)" <FName.LName@some.dom.mail>' 
> src="cid:199321619@15172095-212e" width=16>"LName, FName (Name of Biz..)" 
> &lt;FName.LName@some.dom.mail&gt;<BR><BR><BR>

The problem is html_parse_tag first calls html_get_parenthesis() and copies
the buf upto the first instance of '>', but in this case the '>' is inside
a quoted string.

No immediate solution comes to mind, except my deep desire to rewrite html.c.

R.
-- 
Rich Coe		richard.coe@med.ge.com
General Electric Healthcare Technologies
Global Software Platforms, Computer Technology Team

Many companies that have made themselves dependent on IBM-equipment
(and in doing so have sold their soul to the devil) will collapse under the
sheer weight of the unmastered complexity of their data processing systems.
    ``How do we tell the truths that might hurt?'',  Edsger W Dijkstra, 1975

Many companies that have made themselves dependent on Microsoft
(and in doing so have sold their soul to the devil) will collapse under the
sheer weight of the unmastered complexity of their data processing systems.
	-- Me

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic