rack-devel archive mirror (unofficial) https://groups.google.com/group/rack-devel
 help / color / mirror / Atom feed
From: myobie <myobie@gmail.com>
To: Rack Development <rack-devel@googlegroups.com>
Subject: X-Forwarded-For order
Date: Mon, 25 Jan 2010 08:04:11 -0800 (PST)	[thread overview]
Message-ID: <aa4dada3-c4f1-4f7c-81d2-7e416f87dcbf@36g2000yqu.googlegroups.com> (raw)

The #ip method on Request pulls the last IP out of the list from
HTTP_X_FORWARDED_FOR, however reading here http://en.wikipedia.org/wiki/X-Forwarded-For
, and in use at heroku, the actual client IP is the first.

Is this a bug in Rack?

                 reply	other threads:[~2010-01-25 19:33 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://groups.google.com/group/rack-devel

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=aa4dada3-c4f1-4f7c-81d2-7e416f87dcbf@36g2000yqu.googlegroups.com \
    --to=rack-devel@googlegroups.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).