perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adam Prime <adam.pr...@utoronto.ca>
Subject Re: Quotes in uploaded filenames are not parsed correctly.
Date Sat, 03 Jan 2009 00:44:29 GMT
Miles Crawford wrote:
> When you handle a multipart/form-data post with libapreq quotes in
> filenames are mishandled.  For example, a post that includes:
> 
> Content-Disposition: form-data; name="foo"; filename="break"here.jpg"

Isn't that a malformed header?  I would think that the internal '"' 
should be escaped for it to be properly represent that filename. 
Assuming that's the case, the rest of the behavior that you describe is 
what I'd expect.

Adam

Mime
View raw message