[Catalyst] Re: Catalyst::Response - send a file

Aristotle Pagaltzis pagaltzis at gmx.de
Tue Aug 19 22:39:55 BST 2008


* Wade.Stuart at fallon.com <Wade.Stuart at fallon.com> [2008-08-19 21:55]:
> $c->response->headers->header('Content-disposition:' => "attachment; filename=$filename" );

You forgot

    $filename =~ s!"!\\"!g;

Regards,
-- 
Aristotle Pagaltzis // <http://plasmasturm.org/>



More information about the Catalyst mailing list