- 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>
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 UTC