incubator-couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Shorin (JIRA)" <>
Subject [jira] [Updated] (COUCHDB-1421) Wrong X-Forwarded-For address chosen as "peer"
Date Mon, 01 Jul 2013 23:35:21 GMT


Alexander Shorin updated COUCHDB-1421:

    Component/s: HTTP Interface
> Wrong X-Forwarded-For address chosen as "peer"
> ----------------------------------------------
>                 Key: COUCHDB-1421
>                 URL:
>             Project: CouchDB
>          Issue Type: Bug
>          Components: HTTP Interface
>            Reporter: Nathan Vander Wilt
> I noticed that in the Mochiweb code, it uses the last item of the X-Forwarded-For list
as the peer:
> But shouldn't this snag the *first* item of the list instead?
says "the first for-parameter will disclose the user agent where the request first was made"
— the user agent is what I'd want as an app developer, not the second-nearest proxy.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message