Python and cgi and <a> problem!

Chris Liechti cliechti at gmx.net
Mon Sep 23 22:48:32 EDT 2002


Jon Ribbens <jon+usenet at unequivocal.co.uk> wrote in
news:slrnaov5q3.nrp.jon+usenet at snowy.squish.net: 

> In article <Xns9292EA042C259cliechtigmxnet at 62.2.16.82>, Chris Liechti
> wrote: 
>> print '<A href="%s">%s</A>' % (filename, filename)
> 
> I hope none of your filenames have '"', ">" or "&" in.

yeah i avoid characters that are special to the shell in my filenames - i 
even don't use " " very often. <wink>

sure there are improvements, but its a start.

chris

-- 
Chris <cliechti at gmx.net>




More information about the Python-list mailing list