Uploaded image for project: 'Aries'
  1. Aries
  2. ARIES-1974

loopback addresses should not be replaced

    XMLWordPrintableJSON

    Details

      Description

      The CXF code that is used by the implementation replaces the address "127.0.0.1" by localhost for the UriBuilder.

      This can be disabled or enabled by an option but it defaults to true.

      If the host is replaced and you build a "location created" reply using the URI builder the host used by the request and response can differ.

      If the client that sends the request uses the response location to access a resource browser will block that request because of CORS.

      For further details and examples please have a look at: https://issues.apache.org/jira/browse/CXF-8190

      It would be great if the Aries JAX-RS Whiteboard implementation could set this option to false to allow expected URI builder usage:

      replace.loopback.address.with.localhost=false

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                maggu2810 Markus Rathgeb
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m