cgi.py and HTML 4.0 compliancy

Richard van de Stadt stadt at cs.utwente.nl
Tue Feb 6 20:37:10 EST 2001


Juergen wrote:
> 
> Hello,
> 
> I am using PYTHON 2.0 and had a slight problem with the cgi module in
> combination with HTML 4.0 compliant HTML code.
> 
> according to "validator.w3.org" the following URL is not HTML 4
> compliant:
>    <a href="mycgiscript.py?firstParam=Bill&secondParam=Whitters">Some
> Text</a>
> 
> it seems that the "&" character between firstParam and secondParam is
> not allowed.

I have always used '+' (without the quotes) to separate parameters. Has
always worked, still does (but I don't know if it's HTML 4.0).

Richard.



More information about the Python-list mailing list