Posted by David Dorward on 12/19/06 22:46
Toby Inkster wrote:
>> You can usually use ";" instead of "&" though, which nicely removes the
>> need to convert to entities.
> 1. Hex encode a literal semicolon as '%3B' when it appears
> in a query string; and
Which happens a lot less frequently then having multiple pieces of data
there does.
> 2. Program your server-side script to accept both semicolons
> *and* ampersands for input (as form submissions will
> continue to use ampersands in the query sring), and of
> course have a reliable way of detecting which delimiter
> has been used for a given submission.
Most libraries, in my experience, for handling form data do this by default.
The only time I've not been able to do this is when working with a rather
nasty JSP system.
--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
[Back to original message]
|