Uploaded image for project: 'Zanata'
  1. ZNTA-2273

Zanata behind proxy may return incorrect url in REST response

    Details

    • Type: Bug
    • Status: Closed (View workflow)
    • Priority: unspecified
    • Resolution: Ready for Release
    • Affects Version/s: None
    • Fix Version/s: platform-4.4.0
    • Component/s: None
    • Labels:
      None
    • Tested Version/s:
      None
    • Sprint:
      17.24, 17.25

      Description

      When zanata is deployed behind a proxy. e.g. nginx redirect https traffic to EAP port 8080. The code has several places that injects

      @Context UriInfo uri; 

      and get request URI. The result will be http protocol. Potentially the context path may also be the EAP context path not the one received at the proxy. This will result in incorrect URL being returned to the REST response.

        Attachments

          Activity

            People

            • Assignee:
              pahuang Patrick Huang
              Reporter:
              pahuang Patrick Huang
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: