Author holtwick
Recipients
Date 2006-08-15.10:31:58
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
A header like this one containing a ";" and blanks in
the content disposition fails:

Content-Disposition: form-data; name="_media";
filename="Demo; 28.07.2006.jpg"

The cause is, that the function parse_header() first
splits the line by ";" and then begins to analize these
parts. The part "filename" in our example is then split
into two separate parts. 

I wrote a fix for the function parse_header(). It isn't
still complete, because escaped '"' on the end of line
are not respected, but in most cases it helps.
History
Date User Action Args
2007-08-23 14:42:01adminlinkissue1540529 messages
2007-08-23 14:42:01admincreate