#116 User IP is 127.0.0.1 when using web proxy

fixed
Bug (50) Web (25)
2014-07-17
2014-06-18
No

Spotted this on a port log - changed the port Name and user IP was 127.0.0.1.

Discussion

  • Eric A. Miller

    Eric A. Miller - 2014-07-17

    We need X-Forwarded-For

    This should be accessible via request->forwarded_for_address. If request->remote_address is 127.0.0.1 then check request->forwarded_for_address?

    or use Plack::Middleware::ReverseProxy ?

     
  • Oliver Gorwits

    Oliver Gorwits - 2014-07-17

    Used the Plack middleware plugin to set the params correctly.

     
  • Oliver Gorwits

    Oliver Gorwits - 2014-07-17
    • status: new --> fixed
    • assigned_to: Oliver Gorwits
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks