The links in the attached html are wrong, like:
I get change notifications (TWiki.Codev) to my Yahoo mbox. They inline the attached recent-changes html page, so it's nice to see the complete rendered (very nicely) page below the plain text.
I can't think why Yahoo would have anything to do with this bug, so it must be something in TWiki...
(I have the Perl, but too busy to dig into it myself now.)
I've known about this a long time, and thought someone would notice and fix it, but... so I'm reporting it.
I hope it helps TWiki!
- 28 Jun 2000
Well whaddaya know! I guess I never clicked on one of the links before! I'll start digging; I'll bet it's easy to fix.
- 28 Jun 2000
I believe TWiki does it right and that there is a bug in Yahoo mail (however I did not read the RFC). It does work correctly in Netscape. Anybody has problems with other mail clients?
Let me explain. Here is the abbreviated source of a notification email (MIME email)
-----( from here )-----------------------------------
Content-Type: multipart/mixed; boundary="------------2D594AE113AD25493C2C7246"
This is a multi-part message in MIME format.
Content-Type: text/plain; charset=us-ascii
This is an automated email notification of TWiki.
Topics in TWiki.Main that changed since 22 Jun 2000 - 02:41 GMT:
- TWikiUpgradeTo01May2000 (PeterThoeny)
Content-Type: text/html; charset=us-ascii; name="MainChanges.html"
Content-Disposition: inline; filename="MainChanges.html"
-----( to here )-----------------------------------
The email is a multipart/mixed type MIME email. The second part is the HTML
defines the base URL, it is "http://TWiki.SourceForge.net/cgi-bin/view/Main/WebHome". All other adresses in the document should be relative to this base address.
The addresses that are in the
do not have a host, i.e.
. This address is absolute, because of that, the mail client should replace the path of the base URL. Yahoo mail apparently appends the two absolute URL pathes, which is wrong.
We could do a workaround for the Yahoo mail client by changing the
template file to use
file is used by the changes page in TWiki and also by the email notification. The downside of that workaround is a somewhat longer email, but more importantly it would break TWiki installations where TWiki can be accessed by more then one URL (by different hosts, i.e. access from within the firewall or outside).
- 29 Jun 2000
Same problem happens in the Eudora client using the built in mail display and no MAPI, don't know about other configs. -- kk 30 Jun
Same problem happens with Hotmail (and IE at least)
- 16 Sep 2000
Committed fix to TWiki Alpha in CVS: Changed absolute address to relative one before sending email.
- 19 Sep 2000
There is still an error for some links, I have proposed a fix in TOPIC FixWrongUrlsInNotify
(based on TWiki Feb 2003 release). Bug is still not fixed in last release I got from CVS in main branch.
Hope this will help.
- 12 Sep 2003