You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Robert Munteanu (JIRA)" <ji...@apache.org> on 2017/06/09 12:48:18 UTC
[jira] [Created] (SLING-6947) MockHttpServletRequest incorrectly
calculates pathInfo for path-bound servlets
Robert Munteanu created SLING-6947:
--------------------------------------
Summary: 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
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.3.15#6346)