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

    • Bug
    • Resolution: Fixed
    • Major
    • 1.0 RC3
    • 1.0 RC2
    • {Unused} Core
    • None
    • mod_proxy

    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

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

              Dates

                Created:
                Updated:
                Resolved: