• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Item4887: Minor rendering error of URLs in mail notifications

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Extension MailerContrib Normal Closed   minor  

Edit Form Data

Summary:
Reported By:
Codebase:
Applies To:
Component:
Priority:
Current State:
Waiting For:
Target Release:
Released In:
 

Detail

mailnotify.tmpl is used to template email sent as multipart/alternative, and contains both

text/plain and text/html parts. Which is very good, but there is a tiny bug in the way

some urls are generated or rendered in the text/plain part.

In the text/plain part, a url for each topic uses:

%<nop>URL%

whereas in the text/html part, it uses:

%<nop>SCRIPTURL{"view"}%/%<nop>WEB%/%<nop>TOPICNAME%

Unfortunately, %<nop>URL% renders a subweb with a hex-encoded separator %<nop>2F,

instead of a literal slash, and this breaks the url in firefox. Using the second form,

with %<nop>WEB% explicitly, works correctly.

-- TWiki:Main/BobGoldstein - 24 Oct 2007

The %URL was a misguided attempt to escape I18N topic names in the plain text output. I have changed it to use TWiki's ENCODE method, which will encode web/topic as web/topic

-- TWiki:Main.CrawfordCurrie - 02 Nov 2007

ItemTemplate
Summary Minor rendering error of URLs in mail notifications
ReportedBy TWiki:Main.BobGoldstein
Codebase 4.1.2
SVN Range TWiki-4.3.0, Fri, 12 Oct 2007, build 15261
AppliesTo Extension
Component MailerContrib
Priority Normal
CurrentState Closed
WaitingFor

Checkins TWikirev:15463 TWikirev:15465
TargetRelease minor
ReleasedIn

Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r5 - 2007-11-02 - CrawfordCurrie
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback