in reply to Re: Why does CGI::query_string make semicolons the rule, not the exception?
in thread Why does CGI::query_string make semicolons the rule, not the exception?

I can't remember ever seeing a site use it

Any site using XHTML and passes GET parameters in links has to use that form (assuming they want their XHTML to pass validation). Strict XHTML thinks '&' is always the start of an escape (like ' '), so your choices are to either seperate with semi-colons or to use '&' instead. Laziness dictates which one is used.

----
: () { :|:& };:

Note: All code is untested, unless otherwise stated

  • Comment on Re: Re: Why does CGI::query_string make semicolons the rule, not the exception?
  • Download Code