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

Links to virtual wikis broken when using XWiki behind a proxy

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0 RC2
    • Fix Version/s: 1.0 RC3
    • Component/s: {Unused} Core
    • Labels:
      None
    • Environment:
      mod_proxy
    • Similar issues:

      Description

      In com.xpn.xwiki.web.XWikiServletURLFactory#getServerURL, the first check is for the 'x-forwarded-host' header, which gets set by the proxy. If this header exists, then the method returns that hostname, without further checking if a different wiki (database) was requested.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sdumitriu Sergiu Dumitriu
              Reporter:
              sdumitriu Sergiu Dumitriu
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: