curl-users
Re: Quotes around spaces not working
From: Ralph Mitchell <ralphmitchell_at_gmail.com>
Date: Sat, 20 Aug 2005 05:15:02 -0500
Date: Sat, 20 Aug 2005 05:15:02 -0500
Did you try encoding the spaces as %20 ?? I don't think you're supposed to
pass spaces in the url...
Ralph Mitchell
On 8/20/05, Owen Watson <o.m.watson_at_gmail.com> wrote:
>
> I'm trying to get curl (under W2K) to pass a url containing spaces.
> However, even when I put double-quotes round the argument it's
> rejected with a HTTP/1.0 400 bad request by curl (I assume).
>
> curl "http://127.0.0.1/C:\Documents and Settings\ blah blah. . ."
> or even without the http://
>
> I'm not trying to get anything back, only pass the argument
>
>
Received on 2005-08-20