I wonder if this is similar to something bug I saw a few months ago. I tried to pass a GET url into a TT2 field but the question mark in the url kept getting url-encoded to %3F. I was wondering if it was a Unicode problem, but it may have been wrong url_for syntax.
Here is a snippet from the old code before I solved the problem (the chr didn't work IIRC). my $qm = chr(63); # my terminal can't print a question mark in utf8 it makes a hex code %3F! $c->stash->{prevpageurl} = $c->uri_for("/admin/admin_portal_transactions_list".$qm."page=$prevpage&collapsed=$collapsed"); IIRC I was unable to solve the problem using the stash, and possibly I also tried uri_for then. Finally I solved it by converting the function to pass parameters as virtual folders in the url path. However yes I just tried what Miyagawa-san had and did it with a TT template too. It works fine with url_for. Matt R.
_______________________________________________ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/ Dev site: http://dev.catalyst.perl.org/