Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-5067

CXF JAX-RS reports 'localhost' to remote clients after an initial local access

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • None
    • Invalid
    • JAX-RS
    • None
    • Unknown

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              sergey_beryozkin Sergey Beryozkin
              sergey_beryozkin Sergey Beryozkin
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: