cURL / Mailing Lists / curl-library / Single Mail

curl-library

[ curl-Bugs-967603 ] error with spaces in -F (--form)

From: SourceForge.net <noreply_at_sourceforge.net>
Date: Sun, 06 Jun 2004 06:32:29 -0700

Bugs item #967603, was opened at 2004-06-06 15:32
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=967603&group_id=976

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Matthias Sch. (matthias-sch)
Assigned to: Nobody/Anonymous (nobody)
Summary: error with spaces in -F (--form)

Initial Comment:
Hi!

i have a problem with spaces in the --form parameter:

i wrote a php-script which prints my post_vars, but if i
run curl:

curl -F "myvar=just some text"
http://myserver/script.php

the valou of $HTTP_POST_VARS['myvar'] is only 'just'
and NOT 'just some test' ...

MY CURL (from slackware-current):
curl 7.11.2 (i686-pc-linux-gnu) libcurl/7.11.2
OpenSSL/0.9.7d zlib/1.1.4
Protocols: ftp gopher telnet dict ldap http file https ftps
Features: SSL libz NTLM Largefile

MY SYSTEM (slackware-curent):
SlackWare Current (9.1+)

greez matthias

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=967603&group_id=976
Received on 2004-06-06