Feature #1250
Add support for multiple route parts in one URL pattern segment
Status: | Resolved | Start date: | 2008-08-08 | |
---|---|---|---|---|
Priority: | Should have | Due date: | ||
Assigned To: | Bastian Waidelich | % Done: | 100% |
|
Category: | MVC | |||
Target version: | - | |||
PHP Version: | Complexity: | |||
Has patch: |
Description
Currently only one route part is allowed between two slashes in a route URL pattern:
news/[id]
we need support for more than one dynamic route part in one segment to enable URL patterns like:
news/[id].[@format]
or
user/[firstName]-[lastName]
Associated revisions
- FLOW3: (MVC) Added "splitString"-property to F3_FLOW3_MVC_Web_Routing_DynamicRoutePart to add support for multiple route parts within one URL pattern segment. This resolves #1250.
- FLOW3: (MVC) Removed F3_FLOW3_MVC_Web_Routing_SubRoutePart as a "subroute part" is technically just some special form of a "dynamic route part".
- FLOW3: (MVC) Added another route to exemplify the usage of "splitStrings". Refactored routing classes.
History
#1 Updated by Bastian Waidelich almost 7 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
Applied in changeset r1118.