[ http://jira.magnolia.info/browse/MAGNOLIA-1654?page=all ]
Fabrizio Giustina resolved MAGNOLIA-1654.
-----------------------------------------
Resolution: Fixed
reworked as suggested. The "regexp:" suffix doesn't work anymore, you have to
explicitly add a class property with the new implementation.
(PS. forward: and redirect: stay as is since they are managed externally)
> Allow regular expression in virtual uris
> ----------------------------------------
>
> Key: MAGNOLIA-1654
> URL: http://jira.magnolia.info/browse/MAGNOLIA-1654
> Project: Magnolia
> Issue Type: Improvement
> Affects Versions: 3.1 M1
> Reporter: Fabrizio Giustina
> Assigned To: Fabrizio Giustina
> Priority: Minor
> Fix For: 3.1 M2
>
>
> A nice addition to current virtual uri mappings would be the ability to use
> regular expression for the original uri and to use matches in the destination
> one.
> For example:
> fromURI=regexp:/products/([0-9A-Z]+)\.html
> toURI=/product/detail.html?productId=$1
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.magnolia.info/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------