You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Stefan Seifert (Jira)" <ji...@apache.org> on 2019/11/04 10:05:00 UTC

[jira] [Closed] (SLING-8690) Servlet Helpers: MockSlingHttpServletRequest.getContextPath should return "" by default

     [ https://issues.apache.org/jira/browse/SLING-8690?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stefan Seifert closed SLING-8690.
---------------------------------

> 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.3.0
>
>
> 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.4#803005)