wyona / yanel

http://www.yanel.org
Apache License 2.0
10 stars 5 forks source link

YanelServlet should cleanup IP address when containing "unknown" #57

Open michaelwechner opened 11 years ago

michaelwechner commented 11 years ago

It can happen that request.getHeader("X-FORWARDED-FOR") contains the word "unknown", e.g.

http://dev.robertmao.com/2007/06/30/what%E2%80%99s-inside-x-forwarded-for-and-how-to-handle/

but

src/webapp/src/java/org/wyona/yanel/servlet/YanelServlet.java

should clean this up (search for "unknown") inside the code of YanelServlet.