Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-14970

Adding x-forwarded-port/scheme header in the request should be well taken into account

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.9.5
    • Fix Version/s: 6.0
    • Component/s: Web Common

      Description

      Currently the VirtualHostHelper takes only the x-forwarded-scheme into account and take it always even if the local flag is activated in the getServerUrl() method.

      This leads to 404 error when following links because of the UrlPolicyService using it internally.

      See http://answers.nuxeo.com/questions/9813/https-reverse-proxy-now-fails-with-http-404-with-upgrade-to-595-is-it-my-fault-or-bug-in-latest-release?page=1#9826 for a sample buggy situation

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: