I'm quite a fan of the trailing slash in URLs. I would like to do a
redirect from any URL that does not have a trailing slash to one that
does (well, unless it appears to be a file with a file extension). I
could make a route whose pattern checks for no trailing slash, which
calls an action whose view then does a redirect to the current URL but
with a single slash. I guess I would also like to check for cases that
have two (or more) trailing slashes, and redirect appropriately.

However, is there some 'built-in' method in Agavi to do this automatically?

Michal.

_______________________________________________
users mailing list
[email protected]
http://lists.agavi.org/mailman/listinfo/users

Reply via email to