Uploaded image for project: '[Read Only] - Hippo Site Toolkit 2'
  1. [Read Only] - Hippo Site Toolkit 2
  2. HSTTWO-1849

Matrix parameters in the the mountpath breaks in plain jaxrs pipelines

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Low
    • Resolution: Fixed
    • 2.22.06
    • 2.22.07, 2.23.06
    • None
    • None

    Description

      in the code below, when the URL has matrix parameters in the mountPath, the code below does not correctly create a jaxrs pathinfo.

      I am not sure if we even need to fix / improve this, or that we just document that matrix parameters cannot (also they have no use case) be used in the mount path

      @Override
      protected String getJaxrsPathInfo(HstRequestContext requestContext, HttpServletRequest request) throws ContainerException

      { String requestURI = request.getRequestURI(); HstContainerURL baseURL = requestContext.getBaseURL(); return requestURI.substring(baseURL.getContextPath().length() + baseURL.getResolvedMountPath().length()); }

      Attachments

        Activity

          People

            aschrijvers Ard Schrijvers
            aschrijvers Ard Schrijvers
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: