Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-1227

Call ResourceResolver.map on redirect targets before sending the redirect

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Servlets Get 2.0.6
    • Servlets Get 2.0.8
    • Servlets
    • None

    Description

      Currently the RedirectServlet tries hard to create a relative path to be used for the HttpServletRequest.sendRedirect call. This is mostly historic (and the exact reasons escape my mind). In the meentime the ResourceResolver.map method has been developped and should be leveraged to create a correct redirect URL for a given target path.

      Attachments

        Activity

          People

            fmeschbe Felix Meschberger
            fmeschbe Felix Meschberger
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: