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 Mon, 05 Jan 2009 15:50:05 GMT
Miles Crawford wrote:
> I agree it looks bogus, but safari and firefox send the header in that
> format.  Not sure about IE since Windows does not allow files with a "
> in the name.
> 
> I looked over the Content-Disposition header RFC but it does not seem
> to address escaping directly.
> 
> Either way, it seems that this format is a "browser fact of life"

I suggested this in IRC, but never saw a reply.  Perhaps it's because 
you're using $r->param for a input type=file?  I'd check to see what 
$upload->filename gives you when you use Apache2::Upload to handle the 
file upload instead.

Adam

Mime
View raw message