cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Freeman Fang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CXF-6785) AbstractHTTPDestination should handle the case when pathInfo of HttpServletRequest is null
Date Thu, 18 Feb 2016 13:19:18 GMT

    [ https://issues.apache.org/jira/browse/CXF-6785?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15152290#comment-15152290
] 

Freeman Fang commented on CXF-6785:
-----------------------------------

Hi Sergey,

No, the contextServletPath isn't lost, the difference is that the getPathInfo is null for
undertow.
For example, for the MultiplexHttpAddressClientServerTest.testWithGetPortExtensionHttp, I
print out the values when run test against undertow and against jetty separately.

For the undertow
{code}
the contextPath is /NumberService/NumberPort
the servletPath is 
the contextServletPath is /NumberService/NumberPort
the pathInfo is null
the requestURI is /NumberService/NumberPort/23
{code}
For the jetty
{code}
the contextPath is /NumberService/NumberPort
the servletPath is 
the contextServletPath is /NumberService/NumberPort
the pathInfo is /23
the requestURI is /NumberService/NumberPort/23
{code}

Cheers
Freeman

> AbstractHTTPDestination should handle the case when pathInfo of HttpServletRequest is
null 
> -------------------------------------------------------------------------------------------
>
>                 Key: CXF-6785
>                 URL: https://issues.apache.org/jira/browse/CXF-6785
>             Project: CXF
>          Issue Type: Bug
>            Reporter: Freeman Fang
>            Assignee: Freeman Fang
>             Fix For: 3.2.0, 3.1.6
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message