#1209: Implied route matches are repeated in generated urls where route name has
multiple matches
--------------------------------------+-------------------------------------
Reporter: hzilla <h...@…> | Owner: dominik
Type: defect | Status: new
Priority: normal | Milestone: 1.0.2
Component: routing | Version: 1.0.1
Severity: normal | Keywords:
Has_patch: 0 |
--------------------------------------+-------------------------------------
Example routing:
{{{
<route name="filter" pattern="(^|/)?({filter:[\w-+]+})" stop="false"
imply="true" cut="true" />
<route name="feature" pattern="^(/)?$" module="Common" action="Index" />
<route name="feature" pattern="^/feature$" module="Feature" action="Index"
/>
}}}
In this case where there are multiple routes defined with the same name, a
url generated with gen('feature') shows values matched in the filter
implied route twice in the url.
--
Ticket URL: <http://trac.agavi.org/ticket/1209>
Agavi <http://www.agavi.org/>
An MVC Framework for PHP5
_______________________________________________
Agavi Tickets Mailing List
[email protected]
http://lists.agavi.org/mailman/listinfo/tickets