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

Andriy Redko reassigned CXF-8682:
---------------------------------

    Assignee: Andriy Redko

> x-forwarded-proto header causes cxf to not match request to java method
> -----------------------------------------------------------------------
>
>                 Key: CXF-8682
>                 URL: https://issues.apache.org/jira/browse/CXF-8682
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-RS
>    Affects Versions: 3.4.1, 3.5.1
>            Reporter: shpelda
>            Assignee: Andriy Redko
>            Priority: Major
>             Fix For: 3.5.2, 3.4.7, 4.0.0
>
>
> If X-Forwarded-Proto header is set to "HTTP", then serverside CXF  fails to 
> match _Message_ to corresponding java method. This happens because of 
> [HttpUtils#getBaseAddress|https://github.com/apache/cxf/blob/master/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/utils/HttpUtils.java#L474]
>  being case-sensitive and fails to detect absolute url, that is somehow 
> internally produced by cxf from this x-forwarded-proto and x-forwarded-host 
> headers.
> —
> This uppercase header was produced by NetScaler Load balancer, if this is 
> interesting to you.
>  



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to