abdera-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jim Ancona (JIRA)" <j...@apache.org>
Subject [jira] Created: (ABDERA-111) Route matching shouldn't span segment boundaries
Date Fri, 08 Feb 2008 22:56:07 GMT
Route matching shouldn't span segment boundaries

                 Key: ABDERA-111
                 URL: https://issues.apache.org/jira/browse/ABDERA-111
             Project: Abdera
          Issue Type: Bug
            Reporter: Jim Ancona
             Fix For: 0.4.0

I have run into some problems with my Routes matching unexpectedly. 

The current algorithm attempts to match the non-variable parts of the pattern, setting the
variable to whatever is in between.

So the pattern "/base/:collection/" matches both "/base/test/" and "/base/test/123/". In the
second case, the value of the collection variable is "test/123". In my opinion, not allowing
matches to span URI segments would be less prone to unintuitive results.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message