Radek: you seem to be discussing 1.5, while Bill seems to be talking about 1.4
which branch is the bug actually in? Jeff On Tue, 2004-02-17 at 08:11, Radek Doul�k wrote: > Hi Bill, > > On Tue, 2004-02-17 at 18:29 +0800, Bill Zhu wrote: > > > I have seen your comment in bugzilla about the bug of 'The Insert Link > > function doesn't work',Maybe you are right : > > http://bugzilla.ximian.com/show_bug.cgi?id=53737 > > > > This bug bothered me. please help me to have a look at this. > > > > 1. What is the performance of bug? > > * when you add a link with protocol like "http://www.google.com" > > every thing works ok > > * if you add a link without protocol just like "www.google.com" > > the link wonn't work. And, when you right click the link and > > select "copy location", you will see that what you copied is > > "cid:/www.google.com". > > > > 2. Where dose this "cid:/" come from? > > * in mail-format.c:get_cid() > > * in this function, another function > > "camel_mime_part_get_content_id" is called to get thecontent id > > of the mime part which is being handled. but almose every > > time, the content id is NULL. so the function generate a > > string like "cid:@@@%d" and insert it into a hash table. > > * the string "cid:@@@%d" is handled in another function > > gtkml.c:expand_relative(). in this function, "cid:@@@%d" is > > passed in as base. the final location of this link if formed > > by 3 parts. the first part is "cid:", this is from the base. > > the second part is "/", this is added manually. the third part > > is the orginal url,like "www.google.com". > > > > 3. My questions > > * what is the content id? > > id mailer use to identify message parts > > > * what is the base? > > by base I mean base html url > > > * why the "cid:@@@%d" is treated as base? what is there > > relationship? > > because mailer puts html mail in an iframe with src containing something > like "em-no-cid:.0x816d108.877.alternative.1", this src url becomes a > base url for html mail. > > > * what dose your word "mailer problem with base tag > > and relative links in the message, reassigning" mean? > > it means that I think the problem is in mailer, where mailer should take > care about relative links with iframe's src as base url. probably just > remove the base in case it's not valid cid identified part url. > > Cheers > Radek > > _______________________________________________ > evolution-hackers maillist - [EMAIL PROTECTED] > http://lists.ximian.com/mailman/listinfo/evolution-hackers > _______________________________________________ evolution-hackers maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/evolution-hackers
