Python and cgi and <a> problem!
gua81 at XXXyahoo.com
Tue Sep 24 09:40:21 CEST 2002
everything works fine,
im just doing some simple things, nothing that will break the code.
"Jon Ribbens" <jon+usenet at unequivocal.co.uk> wrote in message
news:slrnaovmel.dma.jon+usenet at snowy.squish.net...
> In article <Xns929330F5A61B0cliechtigmxnet at 220.127.116.11>, Chris Liechti
> >>> 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 -
> > even don't use " " very often. <wink>
> > sure there are improvements, but its a start.
> I'm not sure recommending completely broken and insecure code is ever
> a good thing. No offence intended.
More information about the Python-list