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

x-forwarded-proto header causes cxf to not match request to java method

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.4.1, 3.5.1
    • 3.5.2, 3.4.7, 4.0.0
    • JAX-RS
    • None
    • Unknown

    Description

      If X-Forwarded-Proto header is set to "HTTP", then serverside CXF  fails to match Message to corresponding java method. This happens because of HttpUtils#getBaseAddress being case-sensitive and fails to detect absolute url, that is somehow internally produced by cxf from this x-forwarded-proto and x-forwarded-host headers.

      This uppercase header was produced by NetScaler Load balancer, if this is interesting to you.

       

      Attachments

        Issue Links

          Activity

            People

              reta Andriy Redko
              shpelda shpelda
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: