A critique of cgi.escape

Jon Ribbens jon+usenet at unequivocal.co.uk
Mon Sep 25 19:41:48 EDT 2006


In article <ef95kk$oan$1 at news.albasani.net>, Georg Brandl wrote:
>> Here's a point for you - the documentation for cgi.escape says that
>> the characters "&", "<" and ">" are converted, but not what they are
>> converted to.
> 
> It says "to HTML-safe sequences". That's reasonably clear without the need
> to reproduce the exact replacements for each character.
> 
> If anyone doesn't know what is meant by this, he shouldn't really write apps
> using the cgi module before doing a basic HTML course.

So would you like to expliain the difference between " and " ,
or do you need to go on a "basic HTML course" first?



More information about the Python-list mailing list