[2.6b1-mb.131] URL changes?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
21 messages Options
12
Reply | Threaded
Open this post in threaded view
|

[2.6b1-mb.131] URL changes?

Boris Popov, DeepCove Labs (SNN)
Michel,

Just loaded latest VisualWorks version based on Seaside2.6b1-mb.131.mcz
and having problems with URLs, redirects and such,

- I've seen at least 3 endless redirects happen so far, can't reproduce
it
- URLs used to be /app?_k=MpiiFjkQ now they're /app/?_k=gnFQfgKn, what'd
the rationale for this one?

Thanks!

-Boris

--
+1.604.689.0322
DeepCove Labs Ltd.
4th floor 595 Howe Street
Vancouver, Canada V6C 2T5
http://tinyurl.com/r7uw4

[hidden email]

CONFIDENTIALITY NOTICE

This email is intended only for the persons named in the message
header. Unless otherwise indicated, it contains information that is
private and confidential. If you have received it in error, please
notify the sender and delete the entire message including any
attachments.

Thank you.

_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: [2.6b1-mb.131] URL changes?

Michel Bany

On 12 Feb 2007, at 23:08 , Boris Popov wrote:

> Michel,
>
> Just loaded latest VisualWorks version based on Seaside2.6b1-mb.
> 131.mcz
> and having problems with URLs, redirects and such,
>
> - I've seen at least 3 endless redirects happen so far, can't  
> reproduce
> it
> - URLs used to be /app?_k=MpiiFjkQ now they're /app/?_k=gnFQfgKn,  
> what'd
> the rationale for this one?
>

Looks like a bug to me, i.e. no rationale.

Could you try the fix below in WAUrl and let me know and I publish a  
corrected version.

pathString
        ^ String streamContents: [ :stream |
                path do: [ :each |
                        stream
                                nextPut: $/;
                                nextPutAll: each ] ]

Cheers,
Michel.
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: [2.6b1-mb.131] URL changes?

Lukas Renggli
> Looks like a bug to me, i.e. no rationale.
>
> Could you try the fix below in WAUrl and let me know and I publish a
> corrected version.
>
> pathString
>         ^ String streamContents: [ :stream |
>                 path do: [ :each |
>                         stream
>                                 nextPut: $/;
>                                 nextPutAll: each ] ]

I changed that because it looked to me as a bug.

Having no $/ at the end makes it impossible (unless someone can prove
otherwise) to run an application in the root (e.g.
http://www.somedomain.com) and generate REST-full URLs.

Cheers,
Lukas

--
Lukas Renggli
http://www.lukas-renggli.ch
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

RE: [2.6b1-mb.131] URL changes?

Boris Popov, DeepCove Labs (SNN)
In reply to this post by Michel Bany
The fix seems to do the trick, reversing the change and sparing me the
endless redirects problem that rears its ugly head on occasion. That's
not to say that Lukas' intention isn't a good one, there's just no time
for me to look deeper into this to see where the redirects are coming
from,

Thanks,

-Boris

--
+1.604.689.0322
DeepCove Labs Ltd.
4th floor 595 Howe Street
Vancouver, Canada V6C 2T5
http://tinyurl.com/r7uw4

[hidden email]

CONFIDENTIALITY NOTICE

This email is intended only for the persons named in the message
header. Unless otherwise indicated, it contains information that is
private and confidential. If you have received it in error, please
notify the sender and delete the entire message including any
attachments.

Thank you.

-----Original Message-----
From: [hidden email]
[mailto:[hidden email]] On Behalf Of Michel
Bany
Sent: Monday, February 12, 2007 2:30 PM
To: The Squeak Enterprise Aubergines Server - general discussion.
Subject: Re: [Seaside] [2.6b1-mb.131] URL changes?


On 12 Feb 2007, at 23:08 , Boris Popov wrote:

> Michel,
>
> Just loaded latest VisualWorks version based on Seaside2.6b1-mb.
> 131.mcz
> and having problems with URLs, redirects and such,
>
> - I've seen at least 3 endless redirects happen so far, can't  
> reproduce
> it
> - URLs used to be /app?_k=MpiiFjkQ now they're /app/?_k=gnFQfgKn,  
> what'd
> the rationale for this one?
>

Looks like a bug to me, i.e. no rationale.

Could you try the fix below in WAUrl and let me know and I publish a  
corrected version.

pathString
        ^ String streamContents: [ :stream |
                path do: [ :each |
                        stream
                                nextPut: $/;
                                nextPutAll: each ] ]

Cheers,
Michel.
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: [2.6b1-mb.131] URL changes?

Lukas Renggli
> The fix seems to do the trick, reversing the change and sparing me the
> endless redirects problem that rears its ugly head on occasion. That's
> not to say that Lukas' intention isn't a good one, there's just no time
> for me to look deeper into this to see where the redirects are coming
> from,

I couldn't observe any additional redirects after this change, neither
directly trough the Squeak image nor served trough Apache.

Are you using WATask?

Cheers,
Lukas

--
Lukas Renggli
http://www.lukas-renggli.ch
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: [2.6b1-mb.131] URL changes?

Michael Rueger-6
In reply to this post by Lukas Renggli
Lukas Renggli wrote:
> Having no $/ at the end makes it impossible (unless someone can prove
> otherwise) to run an application in the root (e.g.
> http://www.somedomain.com) and generate REST-full URLs.

'http://www.xxx.ccc' asURI resolveRelativeURI: '?de'

==>  http://www.xxx.ccc/?de

'http://www.xxx.ccc' asURI resolveRelativeURI: 'abc?de'

=>  http://www.xxx.ccc/abc?de

Q.E.D.

Michael
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

RE: [2.6b1-mb.131] URL changes?

Boris Popov, DeepCove Labs (SNN)
In reply to this post by Lukas Renggli
Funny you should ask, yes, this was during the logon process, which is
the only place where I used tasks right now. Any ideas?

-Boris

--
+1.604.689.0322
DeepCove Labs Ltd.
4th floor 595 Howe Street
Vancouver, Canada V6C 2T5
http://tinyurl.com/r7uw4

[hidden email]

CONFIDENTIALITY NOTICE

This email is intended only for the persons named in the message
header. Unless otherwise indicated, it contains information that is
private and confidential. If you have received it in error, please
notify the sender and delete the entire message including any
attachments.

Thank you.

-----Original Message-----
From: [hidden email]
[mailto:[hidden email]] On Behalf Of Lukas
Renggli
Sent: Monday, February 12, 2007 3:20 PM
To: The Squeak Enterprise Aubergines Server - general discussion.
Subject: Re: [Seaside] [2.6b1-mb.131] URL changes?

> The fix seems to do the trick, reversing the change and sparing me the
> endless redirects problem that rears its ugly head on occasion. That's
> not to say that Lukas' intention isn't a good one, there's just no
time
> for me to look deeper into this to see where the redirects are coming
> from,

I couldn't observe any additional redirects after this change, neither
directly trough the Squeak image nor served trough Apache.

Are you using WATask?

Cheers,
Lukas

--
Lukas Renggli
http://www.lukas-renggli.ch
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

RE: [2.6b1-mb.131] URL changes?

Boris Popov, DeepCove Labs (SNN)
I take this back, it still happens, I'll try to come up with a case in
vanilla image,

-Boris

--
+1.604.689.0322
DeepCove Labs Ltd.
4th floor 595 Howe Street
Vancouver, Canada V6C 2T5
http://tinyurl.com/r7uw4

[hidden email]

CONFIDENTIALITY NOTICE

This email is intended only for the persons named in the message
header. Unless otherwise indicated, it contains information that is
private and confidential. If you have received it in error, please
notify the sender and delete the entire message including any
attachments.

Thank you.

-----Original Message-----
From: [hidden email]
[mailto:[hidden email]] On Behalf Of Boris
Popov
Sent: Monday, February 12, 2007 3:35 PM
To: The Squeak Enterprise Aubergines Server - general discussion.
Subject: RE: [Seaside] [2.6b1-mb.131] URL changes?

Funny you should ask, yes, this was during the logon process, which is
the only place where I used tasks right now. Any ideas?

-Boris

--
+1.604.689.0322
DeepCove Labs Ltd.
4th floor 595 Howe Street
Vancouver, Canada V6C 2T5
http://tinyurl.com/r7uw4

[hidden email]

CONFIDENTIALITY NOTICE

This email is intended only for the persons named in the message
header. Unless otherwise indicated, it contains information that is
private and confidential. If you have received it in error, please
notify the sender and delete the entire message including any
attachments.

Thank you.

-----Original Message-----
From: [hidden email]
[mailto:[hidden email]] On Behalf Of Lukas
Renggli
Sent: Monday, February 12, 2007 3:20 PM
To: The Squeak Enterprise Aubergines Server - general discussion.
Subject: Re: [Seaside] [2.6b1-mb.131] URL changes?

> The fix seems to do the trick, reversing the change and sparing me the
> endless redirects problem that rears its ugly head on occasion. That's
> not to say that Lukas' intention isn't a good one, there's just no
time
> for me to look deeper into this to see where the redirects are coming
> from,

I couldn't observe any additional redirects after this change, neither
directly trough the Squeak image nor served trough Apache.

Are you using WATask?

Cheers,
Lukas

--
Lukas Renggli
http://www.lukas-renggli.ch
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

RE: [2.6b1-mb.131] URL changes?

Boris Popov, DeepCove Labs (SNN)
VisualWorks, but may have the same issue on Squeak,

- Load SeasideForWebToolkit (2.6b1.131, default options)
- Change 'counter' to use session cookie
- Go to /counter
- Increase by 1 (++)
- Expire all sessions (WASession allInstances do: [:ea | ea expire])
- Refresh browser

"Firefox has detected that the server is redirecting the request for
this address in a way that will never complete."

Hope this helps,

-Boris

--
+1.604.689.0322
DeepCove Labs Ltd.
4th floor 595 Howe Street
Vancouver, Canada V6C 2T5
http://tinyurl.com/r7uw4

[hidden email]

CONFIDENTIALITY NOTICE

This email is intended only for the persons named in the message
header. Unless otherwise indicated, it contains information that is
private and confidential. If you have received it in error, please
notify the sender and delete the entire message including any
attachments.

Thank you.

-----Original Message-----
From: [hidden email]
[mailto:[hidden email]] On Behalf Of Boris
Popov
Sent: Monday, February 12, 2007 3:44 PM
To: The Squeak Enterprise Aubergines Server - general discussion.
Subject: RE: [Seaside] [2.6b1-mb.131] URL changes?

I take this back, it still happens, I'll try to come up with a case in
vanilla image,

-Boris

--
+1.604.689.0322
DeepCove Labs Ltd.
4th floor 595 Howe Street
Vancouver, Canada V6C 2T5
http://tinyurl.com/r7uw4

[hidden email]

CONFIDENTIALITY NOTICE

This email is intended only for the persons named in the message
header. Unless otherwise indicated, it contains information that is
private and confidential. If you have received it in error, please
notify the sender and delete the entire message including any
attachments.

Thank you.

-----Original Message-----
From: [hidden email]
[mailto:[hidden email]] On Behalf Of Boris
Popov
Sent: Monday, February 12, 2007 3:35 PM
To: The Squeak Enterprise Aubergines Server - general discussion.
Subject: RE: [Seaside] [2.6b1-mb.131] URL changes?

Funny you should ask, yes, this was during the logon process, which is
the only place where I used tasks right now. Any ideas?

-Boris

--
+1.604.689.0322
DeepCove Labs Ltd.
4th floor 595 Howe Street
Vancouver, Canada V6C 2T5
http://tinyurl.com/r7uw4

[hidden email]

CONFIDENTIALITY NOTICE

This email is intended only for the persons named in the message
header. Unless otherwise indicated, it contains information that is
private and confidential. If you have received it in error, please
notify the sender and delete the entire message including any
attachments.

Thank you.

-----Original Message-----
From: [hidden email]
[mailto:[hidden email]] On Behalf Of Lukas
Renggli
Sent: Monday, February 12, 2007 3:20 PM
To: The Squeak Enterprise Aubergines Server - general discussion.
Subject: Re: [Seaside] [2.6b1-mb.131] URL changes?

> The fix seems to do the trick, reversing the change and sparing me the
> endless redirects problem that rears its ugly head on occasion. That's
> not to say that Lukas' intention isn't a good one, there's just no
time
> for me to look deeper into this to see where the redirects are coming
> from,

I couldn't observe any additional redirects after this change, neither
directly trough the Squeak image nor served trough Apache.

Are you using WATask?

Cheers,
Lukas

--
Lukas Renggli
http://www.lukas-renggli.ch
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

RE: [2.6b1-mb.131] URL changes?

Ron Teitelbaum
In reply to this post by Lukas Renggli
If you are going to put it back then relative files in FileLibrary will work
again.  I guess I'll wait to see how this plays out before I fix my
application!

Ron

> -----Original Message-----
> From: [hidden email] [mailto:seaside-
> [hidden email]] On Behalf Of Lukas Renggli
> Sent: Monday, February 12, 2007 5:38 PM
> To: The Squeak Enterprise Aubergines Server - general discussion.
> Subject: Re: [Seaside] [2.6b1-mb.131] URL changes?
>
> > Looks like a bug to me, i.e. no rationale.
> >
> > Could you try the fix below in WAUrl and let me know and I publish a
> > corrected version.
> >
> > pathString
> >         ^ String streamContents: [ :stream |
> >                 path do: [ :each |
> >                         stream
> >                                 nextPut: $/;
> >                                 nextPutAll: each ] ]
>
> I changed that because it looked to me as a bug.
>
> Having no $/ at the end makes it impossible (unless someone can prove
> otherwise) to run an application in the root (e.g.
> http://www.somedomain.com) and generate REST-full URLs.
>
> Cheers,
> Lukas
>
> --
> Lukas Renggli
> http://www.lukas-renggli.ch
> _______________________________________________
> Seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: [2.6b1-mb.131] URL changes?

Lukas Renggli
In reply to this post by Michael Rueger-6
> > Having no $/ at the end makes it impossible (unless someone can prove
> > otherwise) to run an application in the root (e.g.
> > http://www.somedomain.com) and generate REST-full URLs.
>
> 'http://www.xxx.ccc' asURI resolveRelativeURI: '?de'
>
> ==>  http://www.xxx.ccc/?de
>
> 'http://www.xxx.ccc' asURI resolveRelativeURI: 'abc?de'
>
> =>  http://www.xxx.ccc/abc?de

For Pier I don't want to just add parameters, but a whole path. So
something like:

      http://www.xxx.ccc/foo/bar/zork?a=1&b=2&c=3

Then the root directory turns out to be a problem:

      http://www.xxx.ccc?a=1&b=2&c=3

So I changed it to:

      http://www.xxx.ccc/?a=1&b=2&c=3

That's what this change is all about. It has been in for quite a while
and nobody complained so far. Now we need to look for a solution ...

Cheers,
Lukas

--
Lukas Renggli
http://www.lukas-renggli.ch
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: [2.6b1-mb.131] URL changes?

Lukas Renggli
In reply to this post by Boris Popov, DeepCove Labs (SNN)
> Funny you should ask, yes, this was during the logon process, which is
> the only place where I used tasks right now. Any ideas?

Every instance of WATask does a redirect the first time the component
is rendered, but that has always been like this. Actually I think I
know a possible solution on how to avoid that redirect if that's a
problem.

Cheers,
Lukas

>
> -Boris
>
> --
> +1.604.689.0322
> DeepCove Labs Ltd.
> 4th floor 595 Howe Street
> Vancouver, Canada V6C 2T5
> http://tinyurl.com/r7uw4
>
> [hidden email]
>
> CONFIDENTIALITY NOTICE
>
> This email is intended only for the persons named in the message
> header. Unless otherwise indicated, it contains information that is
> private and confidential. If you have received it in error, please
> notify the sender and delete the entire message including any
> attachments.
>
> Thank you.
>
> -----Original Message-----
> From: [hidden email]
> [mailto:[hidden email]] On Behalf Of Lukas
> Renggli
> Sent: Monday, February 12, 2007 3:20 PM
> To: The Squeak Enterprise Aubergines Server - general discussion.
> Subject: Re: [Seaside] [2.6b1-mb.131] URL changes?
>
> > The fix seems to do the trick, reversing the change and sparing me the
> > endless redirects problem that rears its ugly head on occasion. That's
> > not to say that Lukas' intention isn't a good one, there's just no
> time
> > for me to look deeper into this to see where the redirects are coming
> > from,
>
> I couldn't observe any additional redirects after this change, neither
> directly trough the Squeak image nor served trough Apache.
>
> Are you using WATask?
>
> Cheers,
> Lukas
>
> --
> Lukas Renggli
> http://www.lukas-renggli.ch
> _______________________________________________
> Seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
> _______________________________________________
> Seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>


--
Lukas Renggli
http://www.lukas-renggli.ch
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: [2.6b1-mb.131] URL changes?

Boris Popov, DeepCove Labs (SNN)
In reply to this post by Boris Popov, DeepCove Labs (SNN)
Re: [Seaside] [2.6b1-mb.131] URL changes?

Okay, what's the solution for? I know I complained about the infinite redirect, but according to my scenario I sent earlier it probably has more to do with cookie changes than the slash, no? I wish I could do more than just yap here ;)

Cheers!

-Boris
(Sent from a BlackBerry)

----- Original Message -----
From: [hidden email] <[hidden email]>
To: The Squeak Enterprise Aubergines Server - general discussion. <[hidden email]>
Sent: Mon Feb 12 23:05:12 2007
Subject: Re: [Seaside] [2.6b1-mb.131] URL changes?

> > Having no $/ at the end makes it impossible (unless someone can prove
> > otherwise) to run an application in the root (e.g.
> > http://www.somedomain.com) and generate REST-full URLs.
>
> 'http://www.xxx.ccc' asURI resolveRelativeURI: '?de'
>
> ==>  http://www.xxx.ccc/?de
>
> 'http://www.xxx.ccc' asURI resolveRelativeURI: 'abc?de'
>
> =>  http://www.xxx.ccc/abc?de

For Pier I don't want to just add parameters, but a whole path. So
something like:

      http://www.xxx.ccc/foo/bar/zork?a=1&b=2&c=3

Then the root directory turns out to be a problem:

      http://www.xxx.ccc?a=1&b=2&c=3

So I changed it to:

      http://www.xxx.ccc/?a=1&b=2&c=3

That's what this change is all about. It has been in for quite a while
and nobody complained so far. Now we need to look for a solution ...

Cheers,
Lukas

--
Lukas Renggli
http://www.lukas-renggli.ch
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: [2.6b1-mb.131] URL changes?

Boris Popov, DeepCove Labs (SNN)
In reply to this post by Boris Popov, DeepCove Labs (SNN)
Re: [Seaside] [2.6b1-mb.131] URL changes?

Nah don't bother, I could get it to happen with no task, try the steps in my other email please to see if it happens in squeak as well, I suspect it might.

Cheers!

-Boris
(Sent from a BlackBerry)

----- Original Message -----
From: [hidden email] <[hidden email]>
To: The Squeak Enterprise Aubergines Server - general discussion. <[hidden email]>
Sent: Mon Feb 12 23:12:03 2007
Subject: Re: [Seaside] [2.6b1-mb.131] URL changes?

> Funny you should ask, yes, this was during the logon process, which is
> the only place where I used tasks right now. Any ideas?

Every instance of WATask does a redirect the first time the component
is rendered, but that has always been like this. Actually I think I
know a possible solution on how to avoid that redirect if that's a
problem.

Cheers,
Lukas

>
> -Boris
>
> --
> +1.604.689.0322
> DeepCove Labs Ltd.
> 4th floor 595 Howe Street
> Vancouver, Canada V6C 2T5
> http://tinyurl.com/r7uw4
>
> [hidden email]
>
> CONFIDENTIALITY NOTICE
>
> This email is intended only for the persons named in the message
> header. Unless otherwise indicated, it contains information that is
> private and confidential. If you have received it in error, please
> notify the sender and delete the entire message including any
> attachments.
>
> Thank you.
>
> -----Original Message-----
> From: [hidden email]
> [[hidden email]] On Behalf Of Lukas
> Renggli
> Sent: Monday, February 12, 2007 3:20 PM
> To: The Squeak Enterprise Aubergines Server - general discussion.
> Subject: Re: [Seaside] [2.6b1-mb.131] URL changes?
>
> > The fix seems to do the trick, reversing the change and sparing me the
> > endless redirects problem that rears its ugly head on occasion. That's
> > not to say that Lukas' intention isn't a good one, there's just no
> time
> > for me to look deeper into this to see where the redirects are coming
> > from,
>
> I couldn't observe any additional redirects after this change, neither
> directly trough the Squeak image nor served trough Apache.
>
> Are you using WATask?
>
> Cheers,
> Lukas
>
> --
> Lukas Renggli
> http://www.lukas-renggli.ch
> _______________________________________________
> Seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
> _______________________________________________
> Seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>


--
Lukas Renggli
http://www.lukas-renggli.ch
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: [2.6b1-mb.131] URL changes?

Lukas Renggli
In reply to this post by Boris Popov, DeepCove Labs (SNN)
> - Change 'counter' to use session cookie

Aha, session cookies ... I never used them ;-)

> - Go to /counter
> - Increase by 1 (++)
> - Expire all sessions (WASession allInstances do: [:ea | ea expire])
> - Refresh browser
>
> "Firefox has detected that the server is redirecting the request for
> this address in a way that will never complete."

I cannot reproduce that, it works for me. I tried all the steps
several times with Safari and FireFox, but I cannot observe anything
not normal.

Cheers,
Lukas

--
Lukas Renggli
http://www.lukas-renggli.ch
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: [2.6b1-mb.131] URL changes?

Boris Popov, DeepCove Labs (SNN)
In reply to this post by Boris Popov, DeepCove Labs (SNN)
Re: [Seaside] [2.6b1-mb.131] URL changes?

Oh okay, it may be VisualWorks specific then, I shall take another look today. If anyone else is on VisualWorks, I wouldn't mind confirming the issue.

Cheers!

-Boris
(Sent from a BlackBerry)

----- Original Message -----
From: [hidden email] <[hidden email]>
To: The Squeak Enterprise Aubergines Server - general discussion. <[hidden email]>
Sent: Mon Feb 12 23:23:39 2007
Subject: Re: [Seaside] [2.6b1-mb.131] URL changes?

> - Change 'counter' to use session cookie

Aha, session cookies ... I never used them ;-)

> - Go to /counter
> - Increase by 1 (++)
> - Expire all sessions (WASession allInstances do: [:ea | ea expire])
> - Refresh browser
>
> "Firefox has detected that the server is redirecting the request for
> this address in a way that will never complete."

I cannot reproduce that, it works for me. I tried all the steps
several times with Safari and FireFox, but I cannot observe anything
not normal.

Cheers,
Lukas

--
Lukas Renggli
http://www.lukas-renggli.ch
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

RE: [2.6b1-mb.131] URL changes?

Bany, Michel
Re: [Seaside] [2.6b1-mb.131] URL changes?

 

Oh okay, it may be VisualWorks specific then, I shall take another look today. If anyone else is on VisualWorks, I wouldn't mind confirming the issue.
 

Hi Boris,

Like Lukas, I could not repeat this with Squeak.
But, I was able to reproduce with VW.
It looks as if the Seaside session cookie is not
deleted when a new session is started with session
cookies enabled. It seems to be related to the path=
parameter in the set-cookie
header. So the bug is most
probably elsewhere, not
in the pathString method.

I'm working on a possible fix.
Thanks for your patience,

Michel.


_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: [2.6b1-mb.131] URL changes?

Boris Popov, DeepCove Labs (SNN)
In reply to this post by Boris Popov, DeepCove Labs (SNN)
Re: [Seaside] [2.6b1-mb.131] URL changes?

Oh thanks, its not huge urgent as there's always a 'false' for session cookies ;)

Cheers!

-Boris
(Sent from a BlackBerry)

----- Original Message -----
From: [hidden email] <[hidden email]>
To: The Squeak Enterprise Aubergines Server - general discussion. <[hidden email]>
Sent: Tue Feb 13 07:15:36 2007
Subject: RE: [Seaside] [2.6b1-mb.131] URL changes?




        Oh okay, it may be VisualWorks specific then, I shall take another look today. If anyone else is on VisualWorks, I wouldn't mind confirming the issue.
        

Hi Boris,

Like Lukas, I could not repeat this with Squeak.
But, I was able to reproduce with VW.
It looks as if the Seaside session cookie is not
deleted when a new session is started with session
cookies enabled. It seems to be related to the path=
parameter in the set-cookie header. So the bug is most
probably elsewhere, not in the pathString method.

I'm working on a possible fix.
Thanks for your patience,

Michel.


_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

RE: [2.6b1-mb.131] URL changes?

Bany, Michel
Re: [Seaside] [2.6b1-mb.131] URL changes?
Hi again,
 
The fix is in Seaside-Swazoo (2.6b1.131.1,mbany) and also in Seaside-WebToolKit (2.6b1.131.1,mbany).
The fix is making sure that path=/ is set in the set-cookie header, like in Squeak.
Apparently this is needed for the session cookie to be properly deleted.
 
I also created Seaside (2.6b1.131.1,mbany) that includes your WAUrl safeguard fix.
therefore if you reload the Seaside bundles using SeasideForSwazoo/SeasideForWebToolkit
you should get everything.
 
Cheers,
Michel.
(Sent from a PC)
 

Oh okay, it may be VisualWorks specific then, I shall take another look today. If anyone else is on VisualWorks, I wouldn't mind confirming the issue.
        

Hi Boris,

Like Lukas, I could not repeat this with Squeak.
But, I was able to reproduce with VW.
It looks as if the Seaside session cookie is not
deleted when a new session is started with session
cookies enabled. It seems to be related to the path=
parameter in the set-cookie header. So the bug is most
probably elsewhere, not in the pathString method.

I'm working on a possible fix.
Thanks for your patience,

Michel.


_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: [2.6b1-mb.131] URL changes?

Boris Popov, DeepCove Labs (SNN)
In reply to this post by Boris Popov, DeepCove Labs (SNN)
Re: [Seaside] [2.6b1-mb.131] URL changes?

Awesome thanks, I shall check it out,

Cheers!

-Boris
(Sent from a BlackBerry)

----- Original Message -----
From: [hidden email] <[hidden email]>
To: The Squeak Enterprise Aubergines Server - general discussion. <[hidden email]>
Sent: Tue Feb 13 07:37:57 2007
Subject: RE: [Seaside] [2.6b1-mb.131] URL changes?

Hi again,

The fix is in Seaside-Swazoo (2.6b1.131.1,mbany) and also in Seaside-WebToolKit (2.6b1.131.1,mbany).
The fix is making sure that path=/ is set in the set-cookie header, like in Squeak.
Apparently this is needed for the session cookie to be properly deleted.

I also created Seaside (2.6b1.131.1,mbany) that includes your WAUrl safeguard fix.
therefore if you reload the Seaside bundles using SeasideForSwazoo/SeasideForWebToolkit
you should get everything.

Cheers,
Michel.
(Sent from a PC)


        Oh okay, it may be VisualWorks specific then, I shall take another look today. If anyone else is on VisualWorks, I wouldn't mind confirming the issue.
               
       
        Hi Boris,
       
        Like Lukas, I could not repeat this with Squeak.
        But, I was able to reproduce with VW.
        It looks as if the Seaside session cookie is not
        deleted when a new session is started with session
        cookies enabled. It seems to be related to the path=
        parameter in the set-cookie header. So the bug is most
        probably elsewhere, not in the pathString method.
       
        I'm working on a possible fix.
        Thanks for your patience,
       
        Michel.
       
       

       


_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
12