Uploaded image for project: 'JSPWiki'
  1. JSPWiki
  2. JSPWIKI-805

more general support for X-Forwarded-For header

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.10
    • 2.10
    • Core & storage
    • None
    • All

    Description

      As a follow-up on JSPWIKI-804 we need more support for the X-Forwarded-For header.

      For example the RecentChangesPlugin shows Authors, but not the X-Forwarded-For address.

      The IfPlugin also has an option to filter based on IP adddress.

      On several places we do logging with the IP address.

      All these should also support the X-Forwarded-For header.
      This can be done easy by changing occurences of request.getRemoteAddress() by HttpUtil.getRemoteAddress(request).

      Patch coming up....

      Attachments

        Issue Links

          Activity

            People

              metskem Harry Metske
              metskem Harry Metske
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: