| 
 Posted by Toby Inkster on 12/19/06 12:22 
David Dorward wrote: 
 
> You can usually use ";" instead of "&" though, which nicely removes the 
> need to convert to entities. 
> http://www.w3.org/TR/html4/appendix/notes.html#h-B.2.2 
 
You *can* yes, but it means that you need to: 
 
	1. Hex encode a literal semicolon as '%3B' when it appears 
	   in a query string; and 
 
	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. 
 
--  
Toby A Inkster BSc (Hons) ARCS 
Contact Me  ~ http://tobyinkster.co.uk/contact
 
  
Navigation:
[Reply to this message] 
 |