On Wed, Nov 5, 2008 at 15:42, Rob Heittman <[EMAIL PROTECTED]> wrote:

> I use Reference.getTargetRef() a lot for normalization purposes ... and if
> it doesn't already do so, there has at least been discussion of making
> getTargetRef() elide stuff like /foo/../bar to /bar, /foo/./bar to /foo/bar,
> or /foo//bar to /foo/bar.  I think the API feature that might make sense is
> one that uses getTargetRef() to normalize all such things to a canonical
> reference before routing -- not just //.

Makes sense to me! But do Router/Route/Template currently use
Reference.getTargetRef() as part of their normal operation, when
trying to match a request URL to a Route? If not, that might be a
pretty significant change to some core code.

Reply via email to