[Catalyst] Bug in uri_for()
Brian Cassidy
brian.cassidy at nald.ca
Sun Jul 16 04:17:51 CEST 2006
Paul Makepeace wrote:
> I consider at the least a usability bug - consider,
>
> $param = { url => $c->req->base }
>
> [% c.uri_for('/foo', param) %]
>
> Would you reasonably expect that to break? Especially considering it
> used not to, 5.66.
>
> Not only that, uri_for() seem to break if its first arg is a URI::http
> too, from some cursory tests earlier. (There may be something going on
> here extra but I don't think so, $c->uri_for($c->req->uri) )
>
We've checked in some code [1] that should revert back to the 5.66
behavior. Please test it.
-Brian
[1] http://dev.catalyst.perl.org/changeset/4702
More information about the Catalyst
mailing list