Improving UrlRewrite to better handle HTTP request parameters

XMLWordPrintable

      Some of the regex defined in the WEB-INF/urlrewrite.xml does not takecare of subsequent parameters following the page parameter, e.g.

      
      

      ^.*browse/(.*)page=all${noformat}

      This is not really a biggie, however, it's quite hard to predict how users will use parameters in the URL sometimes for some reasons. To prevent all the guessing or to make things more flexible, it can be improved to:

      <rule>
          <from>^.*browse/(.*)page=all(.*)$</from>
          <to type="permanent-redirect">$1page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel$2</to>
      </rule>
      

              Assignee:
              Unassigned
              Reporter:
              Yuen-Chi Lian [Atlassian]
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: