Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-1181

Outbound rewrite rules

    XMLWordPrintable

Details

    • New Feature
    • Resolution: Duplicate
    • Major
    • None
    • 1.0 RC3
    • Old Core
    • None
    • Low
    • N/A
    • N/A

    Description

      I propose to extend the URLFactory to support outbound rewrite rules.
      This would allow to have calls to getURL(..) rewrite URLs based on regular expression

      Example

      rule1=/xwiki/bin/view/Main/(.)?id=(.)
      rule1-target=/pages/$1/$2

      would transform

      /xwiki/bin/view/Main/page1?id=123
      into
      /pages/page1/123

      Attachments

        Issue Links

          Activity

            People

              vmassol Vincent Massol
              ludovic Ludovic Dubost
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: