cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: spaces problem

From: Ralph Mitchell <rmitchell_at_eds.com>
Date: Tue, 08 Jul 2003 05:15:32 -0500

You need to encode the spaces. Typically, any data that's not
alphanumeric probably ought to be encoded - I'm sure there are
exceptions, but it shouldn't cause any problems if you're a bit
over-zealous.

Try this:

    curl -d "text=this%20is%20test" "http://..."

Ralph Mitchell

Brano wrote:

>HI all,
>
>when I am submitting some text to SOME webpages, it shows without
>spaces, for example:
>
>curl -d "text=this is test" "http://..."
>
>it shows on page "thisistest"
>
>where could be problem ?
>
>thanks
>
>
>
>-------------------------------------------------------
>This SF.Net email sponsored by: Free pre-built ASP.NET sites including
>Data Reports, E-commerce, Portals, and Forums are available now.
>Download today and enter to win an XBOX or Visual Studio .NET.
>http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
>
>

-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
Received on 2003-07-08