[Catalyst] uri_for

Carl Johnstone catalyst at fadetoblack.me.uk
Wed Jan 20 09:40:24 GMT 2010


Tomohiro Hosaka wrote:
> Is this correct result?

Yes, the previous situation was a bug. Given

sub foo : Args(1) {
  my ($c, $arg) = @_;
};


The URL http://127.0.0.1/foo/bar%2Fbaz would match and set $arg to 'bar/baz' 
correctly. However reversing that using uri_for then returns the incorrect 
URL.

Carl




More information about the Catalyst mailing list