Bill,

It doesn't matter in the slightest, $c->uri_for() returns an object of
URI::http; which does the escaping when the object is created for you.
Remember catalyst doesn't assume you are using TT, and to use TT's
filters would just incur extra overhead.

Input:
[% USE Dumper %]
[% Dumper.dump( c.uri_for('<script>foo bar.html') ) %]

Output:
$VAR1 = bless( do{\(my $o = 'http://localhost/%3Cscript%3Efoo%
20bar.html')}, 'URI::http' );

Evan Carroll
www.evancarroll.com



_______________________________________________
templates mailing list
[email protected]
http://lists.template-toolkit.org/mailman/listinfo/templates

Reply via email to