W3C home > Mailing lists > Public > www-html@w3.org > January 1999

Re: &-separator from a form

From: Greg Marr <gregm@alum.wpi.edu>
Date: Tue, 05 Jan 1999 09:22:06 -0500
Message-Id: <4.1.19990105091919.00e49600@pop.ma.ultranet.com>
To: www-html@w3.org
At 07:01 PM 1/4/99 , Walter Ian Kaye wrote:
>At 7:22a -0800 12/28/98, Greg Marr wrote:
>
>>>If you want to have name=value&thisvalue as a name value pair, the
>>>_only_ way to accomplish this is to say name=value%26thisvalue and then
>>>decode it in your cgi program.
>>
>>or have a CGI that is smart enough to tell the difference, but that's
probably
>>a much more difficult solution.
>
>
>Actually it's pretty easy -- my CGI library routine counts the '&'s and ';'s
>between each name=value pair, and compares the counts to determine the
>separator.

That's not quite what I meant.  We were discussing:
name1=value1&name2=value&with&ampersands&in&it&name3=value3

How would your cgi handle that?


--
Greg Marr
gregm@alum.wpi.edu
"We thought you were dead." 
"I was, but I'm better now." - Sheridan, "The Summoning"
Received on Tuesday, 5 January 1999 09:20:12 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:38 GMT