Tags:
archive_me1Add my vote for this tag create new tag
view all tags
Peace, TWikiers! :o)

The links in the attached html are wrong, like:

Codev.ImproveDocsForFirstTimeUsers

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! :o)

-- IaRad - 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.

-- KevinKinnell - 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 )-----------------------------------

MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="------------2D594AE113AD25493C2C7246"

This is a multi-part message in MIME format.
--------------2D594AE113AD25493C2C7246
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

This is an automated email notification of TWiki.

Topics in TWiki.Main that changed since 22 Jun 2000 - 02:41 GMT:
- TWikiUpgradeTo01May2000  (PeterThoeny)
  http://TWiki.SourceForge.net/cgi-bin/view/Main/WebNotify

--------------2D594AE113AD25493C2C7246
Content-Type: text/html; charset=us-ascii; name="MainChanges.html"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="MainChanges.html"
Content-Base: "http://TWiki.SourceForge.net/cgi-bin/view/Main/WebHome"

<HTML><BODY bgcolor="#ffffff">
<A HREF="/cgi-bin/view/Main/WebNotify">WebNotify</A>
</BODY<>/HTML>

--------------2D594AE113AD25493C2C7246--
-----( to here )-----------------------------------

The email is a multipart/mixed type MIME email. The second part is the HTML part. the Content-Base 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 <BODY> do not have a host, i.e. "/cgi-bin/view/Main/WebNotify" . 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 changes.tmpl template file to use %SCRIPTURL% instead of %SCRIPTURLPATH% . The changes.tmpl 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).

-- PeterThoeny - 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)

-- ManpreetSingh - 16 Sep 2000

Committed fix to TWiki Alpha in CVS: Changed absolute address to relative one before sending email.

-- PeterThoeny - 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.

-- PatrickNomblot - 12 Sep 2003

Edit | Attach | Watch | Print version | History: r11 < r10 < r9 < r8 < r7 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r11 - 2005-02-15 - SamHasler
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.