Sergey Beryozkin created CXF-5067:
-------------------------------------

             Summary: CXF JAX-RS reports 'localhost' to remote clients after an 
initial local access
                 Key: CXF-5067
                 URL: https://issues.apache.org/jira/browse/CXF-5067
             Project: CXF
          Issue Type: Bug
          Components: JAX-RS
            Reporter: Sergey Beryozkin
            Assignee: Sergey Beryozkin


This is probably to do with the runtime using httpRequest.getServerName() which 
likely records the initial local access and hence returns "localhost".

I think we need to check if "localhost" is returned, if yes then actually at 
the host name in the request URI, if that is not 'localhost' then do use that 
name

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to