[Catalyst] Trailing undef in uri_for()

Bill Moseley moseley at hank.org
Tue Jun 5 20:26:50 GMT 2007

On Tue, Jun 05, 2007 at 04:12:07PM +0100, Matt S Trout wrote:
> > Although I'm not sure why you wouldn't just use '/foo' in that case.
> Nor am I, but for e.g. DAV presence of / is significat.

Ya, my static plugin will do a redirect to "/foo/" if the request is /foo and foo
is a directory.  So might be nice to be able to have that trailing

> > So, I guess what I'm asking for is to indeed remove trailing empty
> > strings.  But, perhaps there's a valid use case for extra and trailing
> > slashes I'm not thinking of.
> Out of luck then, I'm afraid. 

That's what overriding is for. ;)

Bill Moseley
moseley at hank.org

More information about the Catalyst mailing list