[rt-users] Bug: Mails with Attachements

Tony Cook rt-users at develop-help.com
Thu Sep 12 21:08:15 EDT 2002


On Fri, 13 Sep 2002, Phil Homewood wrote:
> Confirmed bug. Most browsers seem to compensate, it seems.
> 
> The attached hack will work around it for spaces only; feel free
> to improve it to deal with any other special chars. (Something
> like URI::Escape might be the way to go...)

My Mason is kind of rusty, but you should be able to do:

<font size=-1><A
HREF="Attachment/<%$Transaction->Id%>/<%$message->Id%>/<%$message->Filename
|u %>">Download <%$message->Filename|| '(untitled)'%></a> <% $size
%></font>

(note the "|u")

Tony




More information about the rt-users mailing list