Ticket #35 (closed defect: fixed)

Opened 7 years ago

Last modified 7 years ago

IP Address for non-logged in users is always 127.0.0.1 when deployed behind a proxy (e.g. on ckan.net)

Reported by: rgrp Owned by: rgrp
Priority: minor Milestone: v0.4
Component: ckan Keywords:
Cc: Repository:
Theme:

Description

When IP address is used to identify non-logged in users (for example on create and editing of packages) it is always 127.0.0.1 when using a reverse proxy (standard deployment configuration on a production machine and used e.g. on http://www.ckan.net).

This could be corrected by using HTTP_X_FORWARDED_FOR when available.

Change History

comment:1 Changed 7 years ago by rgrp

  • Status changed from new to closed
  • Resolution set to fixed

Resolved in r157.

Note: See TracTickets for help on using tickets.