[
https://issues.apache.org/jira/browse/FELIX-5037?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Marc Sluiter closed FELIX-5037.
-------------------------------
Resolution: Not A Problem
Oh, ok, That means we have to always check pathinfo AND servletpath in the
servlet... :/ Not nice. But I understand that it's spec compliant this way.
Thanks for the fast response!
> HttpServletRequest.getPathInfo() always returns null for servlets registered
> at "/"
> -----------------------------------------------------------------------------------
>
> Key: FELIX-5037
> URL: https://issues.apache.org/jira/browse/FELIX-5037
> Project: Felix
> Issue Type: Bug
> Components: HTTP Service
> Affects Versions: http.jetty-3.1.0
> Reporter: Marc Sluiter
>
> When I register a servlet with alias "/', request.getPathinfo() (in
> doGet(request, response)) ALWAYS returns null. This does not happen with
> http.jetty-3.0.2. When I debug into the servlet, I see that pathinfo of the
> wrapped request is set correctly.
> I have a test project here: https://github.com/slintes/felixtest
> When you run MyTest.java as it is checked in, the test fails.
> When you change the http.jetty version to [3.0,3.1) in the itest's bnd file,
> the test is successfull.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)