quetz-mod_python-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicolas Lehuen <nicolas.leh...@gmail.com>
Subject Re: util.py - field attributes incorrectly set
Date Mon, 28 Mar 2005 18:26:37 GMT
Hi Barry,

First of all, the latest version is on the subversion repository found
at http://svn.apache.org/repos/asf/httpd/mod_python/trunk/ and not on
CVS.

You can send us your revised version of util.py on the list so that we
can compare with the current version and eventually check it in.

Regards,

Nicolas


On Mon, 28 Mar 2005 10:39:46 +0100, Barry Pearce
<barry.pearce@copyrightwitness.net> wrote:
> Forget to mention..
> 
> > The setting of filename and headers in Field at lines 46/47. This are
> > class variables not instance variables. Thus they are global to all
> > Field objects.
> >
> > This produces a number of issues:
> >
> > filename is set for ALL fields (lines 182-183). The software works but
> > only because of the code at lines 227, 272 and 286.
> 
> This wont work correctly in forms which are sent as multipart/mixed with
> multiple files - it will claims the same filename for all files.
> 
> Regards,
> Barry
>

Mime
View raw message