curl-users
Re: Problem in between Win32/Linux distribution
Date: Tue, 15 Feb 2005 10:24:21 +0100
Autsch - I also got the bite :).
Thank's for the info
Alex
On Tue, 15 Feb 2005 02:33:09 -0600, Ralph Mitchell
<ralphmitchell_at_gmail.com> wrote:
> It's one of those "shell punctuation" issues. In this particular
> case, the shell is seeing the semicolon as a separator between two
> commands, so it mentally inserts a newline at that point in the
> command line. After executing the curl command, it goes on to set a
> shell variable:
>
> /usr/bin/curl www.mydomain.com/jsp_application
> jesessionid=123123
>
> Quoting the url make the shell ignore the semicolon.
>
> These things regularly bite me... :)
>
> Ralph Mitchell
>
> On Mon, 14 Feb 2005 23:04:58 +0100, akede <alex.kempkens_at_gmail.com> wrote:
> > Hey Daniel,
> >
> > it's a wired thing - but I found it.
> >
> > The problem is indeet the jsession var.
> >
> > When you do a get to a page the session is additionally added to the url like
> >
> > www.mydomain.com/jsp_application;jesessionid=123123
> >
> > within the win32 distribution this is no problem, anything works well.
> > Under Linux it seems that the system has a problem with the semicolon
> > >;< and with that removes the jsessionid information from the URL.
> >
> > After I added quotation marks >"< around the the URL like
> >
> > /usr/bin/curl
> > "www.mydomain.com/jsp_application;jesessionid=123123"
> >
> > everthing worked fine on both systems.
> >
> > So know you are the expert to know why this is the way ;-).
> >
> > Anyhow thank's for the lib it is working excellent
> >
> > Alex
> >
> > On Thu, 27 Jan 2005 19:22:18 +0100 (CET), Daniel Stenberg
> > <daniel-curl_at_haxx.se> wrote:
> > > On Wed, 26 Jan 2005, akede wrote:
> > >
> > > > When I do it with the Win32 version the request is what I expect. On Linux
> > > > the request says that the J2EE session was time outed.
> > >
> > > So the requests are identical but the server responses differ?
> > >
> > > Then no, I don't understand why the server does that. It seems to me you
> > > should focus on getting some answers from the ones who provide the
> > > server-side.
> > >
> > > --
> > > Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
> > > Dedicated custom curl help for hire: http://haxx.se/curl.html
> > >
> >
>
Received on 2005-02-15