Post , UrlDecode and Ampersand
Dave Cragg
dcragg at lacscentre.co.uk
Sun Dec 21 08:35:34 EST 2003
At 6:57 pm -1000 20/12/03, Sannyasin Sivakatirswami wrote:
>Or, on the client side; setting up the stack that issues the posted
>string to strip the ampersand out or change it to the word "and."
>But something feels "off" about either of those options. So, before
>going down that road, since the ampersand character is the official
>concat character for urlEncoded form strings, I am wondering if any
>of you wonderful souls out there know if there is already an
>established internet IT spec for the proper way to handle this... or
>does everyone just do WHEW (WHatEver Works) ??
The "correct" way is to only urlEncode the field names and values and
not the ampersands and "=" which separate them. Of course, if you're
in charge of the client and the server script, you can do what you
want.
Cheers
Dave
More information about the use-livecode
mailing list