Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-7637

Wrong external URL behind a https proxy on WebSphere

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.5
    • Fix Version/s: None
    • Component/s: Old Core
    • Labels:
    • Environment:
      Websphere 7
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      XWiki is on WebSphere behind a reverse proxy which is reached using https and communicate with WebSphere in HTTP. The issue is that the external URL generated by XWiki has http instead of https in the URL scheme. XWiki expect ServletRequest#isSecure to return true if the client request is a https request but for some reason it's not the case here which makes XWiki produce proper external URL except for the scheme (host and port are properly resolved).

      Looks like the fix in XWIKI-5386 was not enough (note that in this case we do have the x-request-scheme header in the request but isSecure still does not return true).

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                tmortagne Thomas Mortagne
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated: