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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Servlet Helpers 1.2.0
    • Servlet Helpers 1.3.0
    • Extensions
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: