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

Servlet Helpers: MockSlingHttpServletRequest.getContextPath should return "" by default

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Servlet Helpers 1.2.0
    • Fix Version/s: Servlet Helpers 1.3.0
    • Component/s: Extensions
    • Labels:
      None

      Description

      according to the JavaDocs of the HttpServletRequest.getContextPath method should return "" and not null for servlets registered to the root context path (which is the default for the mocks).

        Attachments

          Activity

            People

            • Assignee:
              sseifert Stefan Seifert
              Reporter:
              sseifert Stefan Seifert
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: