curl-users
RE: How to send a form field value that begins with '@'?
Date: Thu, 3 Mar 2005 07:10:06 -0500
I can think of a few options:
1. 'name=\@some-string'
("escape" the @ sign, but would require \\ from many shells)
2. 'name=@@some-string'
(double-up the @ sign, only necessary if @ is the first character of
the value)
3. 'name="@some-string"'
(extra set of quotes, would be very challenging for some users to
figure out,
would need to publish working examples for a Windows and a Unix
shell)
- Kevin
-----Original Message-----
From: Daniel Stenberg
Sent: Thursday, March 03, 2005 4:07 AM
Looking at the code, and thinking about it, I think you've found a flaw
since
I don't think you can send a literal '@' letter first in a string with
the
command line tool.
You have any suggestion on a syntax that would enable this without
breaking
backwards compatibility?
Received on 2005-03-03