[
https://issues.apache.org/jira/browse/SLING-6947?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Stefan Seifert closed SLING-6947.
---------------------------------
> MockHttpServletRequest incorrectly calculates pathInfo for path-bound servlets
> ------------------------------------------------------------------------------
>
> Key: SLING-6947
> URL: https://issues.apache.org/jira/browse/SLING-6947
> Project: Sling
> Issue Type: Bug
> Components: Testing
> Affects Versions: Servlet Helpers 1.1.0
> Reporter: Robert Munteanu
> Assignee: Stefan Seifert
> Fix For: Servlet Helpers 1.1.2, Servlet Helpers 1.0.2
>
>
> I have a servlet bound at /foo/bar . When invoked with the path /foor/bar/baz
> the path info is expected to be /baz.
> Instead,
> {{org.apache.sling.servlethelpers.MockSlingHttpServletRequest#getPathInfo()}}
> seems to construct the full request path, including:
> - the resource path
> - the selector string
> - the extension
> - the suffix
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)