[Zope] Re: Re: Re: File uploads: filename with ';'

Vova kv11111 at mail.ru
Wed Oct 27 06:55:00 EDT 2004


Tino Wildenhain wrote:
>> So filename is sent correctly as 'a;b'. But Zope says that filename is
>> '"a'.
> 
> cool :-) We come close. Then you have to file a bug for the cgi.py
> which does the hard work of reading and parsing. Looks like an
> insufficience in handling of the " " quoting while parsing header
> lines.
You are right. Bug is in cgi.py at line 325:
plist = map(lambda x: x.strip(), line.split(';'))

One question: is it right that browser sends 'a;b' as '"a;b"' ? What RFC
says ?

-- 
    Vladimir



More information about the Zope mailing list