Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.9.4

Bug #2363 Wrong export filename with spaces
Submitted: 2004-09-21 02:56 UTC
From: pclouds at vnlinux dot org Assigned: xnoguer
Status: Closed Package: Spreadsheet_Excel_Writer
PHP Version: 4.3.4 OS: Linux
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 45 + 3 = ?

 
 [2004-09-21 02:56 UTC] pclouds at vnlinux dot org
Description: ------------ When you call $xls->send("file name with spaces"), then it will output filename as "file". I think the header should be header("Content-Disposition: attachment; filename=\"$filename\""); instead of header("Content-Disposition: attachment; filename=$filename");

Comments

 [2005-02-22 10:06 UTC] smith at backendmedia dot com
Check the php manual for reference: http://www.php.net/header // It will be called downloaded.pdf header('Content-Disposition: attachment; filename="downloaded.pdf"');
 [2005-11-05 23:26 UTC] xnoguer at php dot net
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.