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

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.1 M3
    • Fix Version/s: 1.1 M4
    • Component/s: {Unused} Core
    • Labels:
      None
    • Similar issues:

      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

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

              Dates

              Created:
              Updated:
              Resolved:
              Date of First Response: