cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: help!, bad html form data

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 19 Aug 2002 18:42:09 +0200 (MET DST)

On Sat, 17 Aug 2002, mrjosh at yahoo wrote:

> Im still stumped on this one. Heres my info.

You're not experiencing any pure curl problems (AFAICT). These are problems
with your environment and with the site your communicating with.

> Im using: curl/7.9.8 (win32) libcurl 7.9.8 (OpenSSL 0.9.6d), inside a
> Active State Perl script.

> $curlcall="curl --trace dump2.txt -A Mozilla/4.0 -v -b headers -d ";
> $upgraded = sprintf "%s%s%s%s%s%s%s%s%s%s%s",($curlcall,
> "'sessionid'=UPGRADE_CLASS_1=V&",
> "NUM_OF_SEG=",$num_seg,"&SEGMENT_NUMBER_1=1&","pnr=",$pnr,"&cmd=upgrade",
> "&UPGRADE_STATUS_1=Available", " --url " ,$result_url);

And none of these characters you pass to the -d is special to the shell
you're using so that they need to be within " or ' or otherwise escaped?

> Maybe Im missing something?? I tried encoding the </font with hex ie. %XX
> but curl blow up. Any ideas?

blow up? What does that mean?

I know for a fact that % needs escape on the Windows/DOS command line, I
trust you took care of that issue.

-- 
 Daniel Stenberg -- curl related mails on curl related mailing lists please
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
Received on 2002-08-19