Fernando Daniel Las created CXF-8331:
----------------------------------------

             Summary: Reverse proxy url is not reflected when 
use-x-forwarded-headers is true
                 Key: CXF-8331
                 URL: https://issues.apache.org/jira/browse/CXF-8331
             Project: CXF
          Issue Type: Bug
          Components: Transports
    Affects Versions: 3.3.7
         Environment: OpenJdk 8

Tomcat 9

cxf 3.3.7
            Reporter: Fernando Daniel Las


Problem generating wsdl behind reverse proxy and setting 
use-x-forwarded-headers in true. 

CXF ignores all  X-Forwarded headers to build this attribute: newRequestUrl

AbstractHTTPServlet Line 306 3.3.7

 
{code:java}
if (originalProtocol != null || originalRemoteAddr != null) {
{code}
Why is mandatory one of this headers?  We have this config 
"use-x-forwarded-headers", is not enough?

--------------------------

This problem was mentioned here 

https://issues.apache.org/jira/browse/CXF-7485

comment:

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



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to