curl-users
Re: Problem with curl & ssl through proxy server
From: Daniel Stenberg <Daniel.Stenberg_at_haxx.nu>
Date: Tue, 16 May 2000 14:19:15 +0200 (MET DST)
Date: Tue, 16 May 2000 14:19:15 +0200 (MET DST)
On Tue, 16 May 2000, Chris Furlong 56718 Comm Quay, 6th floor wrote:
> 'curl -u user:password -x myproxy:3128 -v
> https://my.site.com:81/cgi-bin/GetId.cgi?cmd=get_id&uid=111111&uip=1. 1.1.1'
Hint: the letter & is a special letter to any unix shell. It tells the shell
to run the program in the background. Try enclosing the entire URL within
quotes (double or single ones).
> It connects via the proxy OK and retrieves the servers certificate, but
> then it fails on the GET and appears to not recognise anything after
> 'cmd=get_id'.
Exactly, that's because the &-letter and everything to the right of it is cut
off by the shell. Curl never gets that data.
-- Daniel Stenberg - http://www.contactor.se/~dast - +46-705-44 31 77 ech`echo xiun|tr nu oc|sed 'sx\([sx]\)\([xoi]\)xo un\2\1 is xg'`olReceived on 2000-05-16