cgi.py and HTML 4.0 compliancy

Richard Brodie R.Brodie at rl.ac.uk
Tue Feb 6 12:03:59 EST 2001


"Juergen" <juergen at yellowbull.de> wrote in message news:95p461$62h$1 at nnrp1.deja.com...

> it seems that the "&" character between firstParam and secondParam is
> not allowed.

A bare & is not allowed in HTML because it starts an entity. It should be
encoded as & (you might have e.g. A href="users/Jürgen).

Even better, follow the HTML4 recommendation (B.2.2) and use
; (semicolon) as a delimiter. cgi.py supports this out of the box.







More information about the Python-list mailing list