[Catalyst] Does uri_for() URL-escape arguments correctly ?
Bill Moseley
moseley at hank.org
Tue Dec 4 23:37:31 GMT 2012
On Tue, Dec 4, 2012 at 5:22 AM, Marc SCHAEFER <schaefer at alphanet.ch> wrote:
> Hi,
>
> for some time I write things like this in my templates:
>
> <a href=3D"[% c.uri_for(c.controller.action_for('object'), [ file ])
> %]"><img src=3D"[% c.uri_for(c.controller.action_for('thumbnail'), [ file=
])
> %]" alt=3D"[% video | html %]" /></a>
>
I've always used href=3D"[% c.uri_for( ... ) | html %]"
-- =
Bill Moseley
moseley at hank.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20121204/c3c15=
080/attachment.htm
More information about the Catalyst
mailing list