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

URLs created behind a reverse proxy are absolute and don't preserve https protocol

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.4
    • Fix Version/s: 2.5 M1
    • Labels:
      None
    • Tests:
      Unit
    • Development Priority:
      High
    • Difficulty:
      Medium
    • Similar issues:

      Description

      When XWiki is behind a reverse proxy (e.g. when running on a Tomcat behind an Apache web server with mod_proxy on) the URLs created by the XWikiServletURLFactory are absolute and don't preserve the https protocol (e.g. if Apache forwards the requests to Tomcat using http the created URLs use http even though the initial request received by Apache used https).

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mflorea Marius Dumitru Florea
                Reporter:
                mflorea Marius Dumitru Florea
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Date of First Response: