<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7651.59">
<TITLE>Re: [Seaside] Issue with moving from Seaside 2.6 to 2.8...</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<P><FONT SIZE=2>Thank you. I'm not sure if my fix is really a fix, but it was the least intrusive override I could find.<BR>
<BR>
Cheers!<BR>
<BR>
-Boris (via BlackBerry)<BR>
<BR>
----- Original Message -----<BR>
From: seaside-bounces@lists.squeakfoundation.org <seaside-bounces@lists.squeakfoundation.org><BR>
To: Seaside - general discussion <seaside@lists.squeakfoundation.org><BR>
Sent: Wed Jun 11 19:33:04 2008<BR>
Subject: Re: [Seaside] Issue with moving from Seaside 2.6 to 2.8...<BR>
<BR>
Yup, sorry about the delay. Created AR#54545: "WASessionProtector needs the SeasideRequest to provide #remoteAddress"<BR>
for this. Should have an "official" fix shortly.<BR>
<BR>
Martin<BR>
<BR>
Boris Popov wrote:<BR>
> Oh, yea, I remember now. I raised an issue with Cincom on the list, but<BR>
> got no resolution back. The problem as I remember it is that there is no<BR>
> way to get at the client IP from the native Opentalk request. Here's the<BR>
> override I put in place here to get around the issue,<BR>
><BR>
> SeasideRequest>>doTheWorkFor: aTransport<BR>
><BR>
> | waHandler waRequest wsResponse |<BR>
> waRequest := message.<BR>
> waRequest headers at: 'x-forwarded-for' put: aTransport id<BR>
> ipAddressString.<BR>
> [ ... the rest of the method as-is ... ]<BR>
><BR>
> I wouldn't mind a more proper fix from the Opentalk guys though, this is<BR>
> a nasty hack.<BR>
><BR>
> Cheers,<BR>
><BR>
> -Boris<BR>
><BR>
<BR>
_______________________________________________<BR>
seaside mailing list<BR>
seaside@lists.squeakfoundation.org<BR>
<A HREF="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</A><BR>
</FONT>
</P>
</BODY>
</HTML>