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

XWiki is not using x-forwarded-for while behind a reverse proxy

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • 1.1 M4
    • 1.1 M3
    • {Unused} Core
    • None

    Description

      When XWiki is behind a reverse proxy, the XWikiServletRequest's getRemoteAddr() and getRemoteHost() return the proxy address rather than the x-forwarded-for value.
      Correction patch attached

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: