You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Sergey Beryozkin (JIRA)" <ji...@apache.org> on 2013/06/07 12:55:20 UTC

[jira] [Created] (CXF-5067) CXF JAX-RS reports 'localhost' to remote clients after an initial local access

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