You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jspwiki.apache.org by "Harry Metske (JIRA)" <ji...@apache.org> on 2013/11/30 13:55:37 UTC
[jira] [Created] (JSPWIKI-805) more general support for
X-Forwarded-For header
Harry Metske created JSPWIKI-805:
------------------------------------
Summary: more general support for X-Forwarded-For header
Key: JSPWIKI-805
URL: https://issues.apache.org/jira/browse/JSPWIKI-805
Project: JSPWiki
Issue Type: Improvement
Components: Core & storage
Affects Versions: 2.10
Environment: All
Reporter: Harry Metske
Assignee: Harry Metske
Priority: Minor
Fix For: 2.10
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....
--
This message was sent by Atlassian JIRA
(v6.1#6144)