14 Sep
2011
14 Sep
'11
9:41 p.m.
Current version of Dancer (1.3072) Line 52: sub forwarded_for_address { $_[0]->env->{X_FORWARDED_FOR} } Should read: sub forwarded_for_address { $_[0]->env->{HTTP_X_FORWARDED_FOR} } At least with my install of Apache on Debian. It's possible that the intention is to strip the HTTP_ from env entries, but it doesn't look like it here. I also suspect some of the other env vars might be missing a HTTP_ too. -- Richard Huxton Archonet Ltd