[
https://issues.apache.org/jira/browse/SLING-8690?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Stefan Seifert resolved SLING-8690.
-----------------------------------
Resolution: Fixed
https://github.com/apache/sling-org-apache-sling-servlet-helpers/commit/9649aaca8d5e729bf7b6fb09c50827ce6aae4215
> Servlet Helpers: MockSlingHttpServletRequest.getContextPath should return ""
> by default
> ---------------------------------------------------------------------------------------
>
> Key: SLING-8690
> URL: https://issues.apache.org/jira/browse/SLING-8690
> Project: Sling
> Issue Type: Bug
> Components: Extensions
> Affects Versions: Servlet Helpers 1.2.0
> Reporter: Stefan Seifert
> Assignee: Stefan Seifert
> Priority: Major
> Fix For: Servlet Helpers 1.2.2
>
>
> 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).
--
This message was sent by Atlassian Jira
(v8.3.2#803003)