You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "shpelda (Jira)" <ji...@apache.org> on 2022/03/28 06:31:00 UTC

[jira] [Updated] (CXF-8682) x-forwarded-proto header causes cxf to not match request to java method

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

shpelda updated CXF-8682:
-------------------------
    Description: 
If X-Forwarded-Proto header is set to "HTTP", then CXF fails to match _Message_ to corresponding java method. This happens because  is 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.

—

This uppercase header was produced by NetScaler Load balancer, if this is interesting to you.

 

  was:
If X-Forwarded-Proto header is set to "HTTP", then CXF fails to match _Message_ to corresponding java method. This happens because  is because of [HttpUtils|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.

---

This uppercase header was produced by NetScaler Load balancer, if this is interesting to you.

 


> 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
>            Reporter: shpelda
>            Priority: Major
>
> If X-Forwarded-Proto header is set to "HTTP", then CXF fails to match _Message_ to corresponding java method. This happens because  is 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.
> —
> 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)