[Seaside] Issue with moving from Seaside 2.6 to 2.8...
Martin Kobetic
mkobetic at cincom.com
Thu Jun 12 02:33:04 UTC 2008
Yup, sorry about the delay. Created AR#54545: "WASessionProtector needs the SeasideRequest to provide #remoteAddress"
for this. Should have an "official" fix shortly.
Martin
Boris Popov wrote:
> Oh, yea, I remember now. I raised an issue with Cincom on the list, but
> got no resolution back. The problem as I remember it is that there is no
> way to get at the client IP from the native Opentalk request. Here's the
> override I put in place here to get around the issue,
>
> SeasideRequest>>doTheWorkFor: aTransport
>
> | waHandler waRequest wsResponse |
> waRequest := message.
> waRequest headers at: 'x-forwarded-for' put: aTransport id
> ipAddressString.
> [ ... the rest of the method as-is ... ]
>
> I wouldn't mind a more proper fix from the Opentalk guys though, this is
> a nasty hack.
>
> Cheers,
>
> -Boris
>
More information about the seaside
mailing list