W3C home > Mailing lists > Public > ietf-http-wg@w3.org > April to June 2011

Re: I-D draft-petersson-forwarded-for-00.txt

From: Poul-Henning Kamp <phk@phk.freebsd.dk>
Date: Thu, 07 Apr 2011 15:05:21 +0000
To: Matt Domsch <Matt_Domsch@dell.com>
cc: Karl Dubost <karld@opera.com>, Andreas Petersson <andreas@sbin.se>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Message-ID: <2912.1302188721@critter.freebsd.dk>
In message <20110407144318.GA19980@pws490.domsch.com>, Matt Domsch writes:
>On Thu, Apr 07, 2011 at 07:34:10AM -0500, Karl Dubost wrote:

>The python
>code is really simple though:
>
>    return xforwardedfor.split(',')[-1].strip()
>
>The resultant string is fed to the python-IPy library.  This library
>does not (currently) handle brackets in IPv6 addresses.

<Facepalm/>

Will the horror never cease...

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.
Received on Thursday, 7 April 2011 15:05:46 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 27 April 2012 06:51:39 GMT