[prev] [thread] [next] [lurker] [Date index for 2005/02/15]
Author: simon
Date: 2005-02-15 16:19:41 +0000 (Tue, 15 Feb 2005)
New Revision: 1888
Modified:
trunk/buscador/templates/mail/view_macros
Log:
Prevent braindead browsers from stuffing up the filename
Modified: trunk/buscador/templates/mail/view_macros
===================================================================
--- trunk/buscador/templates/mail/view_macros 2005-02-15 16:18:54 UTC (rev 1887)
+++ trunk/buscador/templates/mail/view_macros 2005-02-15 16:19:41 UTC (rev 1888)
@@ -37,8 +37,8 @@
<ul>
[% FOR att = mail.attachments %]
<li> <A HREF="[%base |
- remove('/$')%]/attachment/view/[%att.id%]">[% att.filename
- %]</A> <small>([% att.content_type %])</small>
+ remove('/$')%]/attachment/view/[%att.id%]?filename=[% att.filename %]">
+ [% att.filename %]</A> <small>([% att.content_type %])</small>
[% END %]
</ul>
</div>
Generated at 17:00 on 15 Feb 2005 by mariachi 0.52