[Zope] Any alternative to &arg in URL?

Martijn Pieters mj@antraciet.nl
Thu, 30 Sep 1999 09:32:53 +0200


At 23:18 29/09/99 , John Hermes wrote:
>I am working on a site using both POST and GET
>forms and I use URL args frequently in the target:
>
>action="subfolder/index_html?arg1=spam&arg2=eggs&.
>.."
>
>Using the '&' character in URLs is not legal HTML
>(4.0-strict). Does Zope recognize other arg
>separators besides '&'?  I don't want to give up
>the way Zope parses and places the args into the
>namespace for me.
>
>Any thoughts would be much appreciated!

& is indeed illegal in a URL, but the part after the ? is the query string, 
and there they _are_ legal, and HTML FORMS using METHOD=GET will always 
encode the form contents like that.

--
Martijn Pieters, Web Developer
| Antraciet http://www.antraciet.nl
| Tel: +31-35-7502100 Fax: +31-35-7502111
| mailto:mj@antraciet.nl http://www.antraciet.nl/~mj
| PGP: http://wwwkeys.nl.pgp.net:11371/pks/lookup?op=get&search=0xA8A32149
------------------------------------------