thanks!
now it works:
ret.append('   <tr><td class="file"><a
href=http://e-bench.serpia.com/upload/%s>%s</a></td></tr>\n' %
(urllib.quote(escape(name)),escape(name)))

bye,
Dimitri


On Fri, 4 Feb 2005 11:45:17 -0000, Richard Brodie <[EMAIL PROTECTED]> wrote:
> 
> "dimitri pater" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> 
> > The problem is that the filenames are cut off in the status bar of the
> > browser because of the white space (eg 'hello.pdf' works, but 'hello
> > there.pdf' is displayed as hello).
> 
> urllib.quote() should do the trick. You need to follow the rules for
> encoding URIs as well as the HTML ones.
> 
> --
> http://mail.python.org/mailman/listinfo/python-list
> 


-- 
Please visit dimitri's website: www.serpia.com
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to