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

Bug #6570 Archive names with spaces not handled in Firefox
Submitted: 2006-01-24 13:34 UTC Modified: 2007-01-08 14:08 UTC
From: edragon at yahoo dot com Assigned: pfischer
Status: Closed Package: File_Archive
PHP Version: 4.4.2 OS: Windows XP
Roadmaps: (Not assigned)    
Subscription  


 [2006-01-24 13:34 UTC] edragon at yahoo dot com
Description: ------------ This problem I've had to fix before and it effects File_Archive (1.5.3). When you send a file with a space it only sends the part of the filename before the space, though it works in IE. Test script: --------------- I believe FA can be fixed by enclosing the filename in quotes in File/Archive/Writer/Output.php header("Content-disposition: attachment; filename=\"$filename\""); instead of header("Content-disposition: attachment; filename=$filename");

Comments

 [2006-04-11 14:21 UTC] toto at darkside dot tomsk dot ru (toto)
And in this file to: header("Content-type: $mime"); replace (ex.): header("Content-type: $mime; charset=windows-1251"); Of couse charset need to varibrate and set global. It need for Opera and maybe other...
 [2007-01-08 14:08 UTC] pfischer at php dot net (Pablo Fischer)
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. Thanks and sorry for the delay!