sjarvela / mollify

Web document management and sharing platform.
http://www.mollify.org/
GNU General Public License v2.0
25 stars 10 forks source link

IE bad filename when i'm downloading a file #2

Closed Bookash closed 9 years ago

Bookash commented 9 years ago

Hi. Installed your latest version. When i try to download a file with non ascii filename (Документ Microsoft Office Word.docx) i got a file with filename (Документ Microsoft Office Word.docx)

solution: change OutputHandler.Class.php in private function sendDownloadHeaders($filename, $type, $mobile, $size) old: header("Content-Disposition: attachment; filename=\"".$filename."\";"); new: header('Content-Disposition: attachment; filename*=UTF-8\'\''.rawurlencode($filename));

sjarvela commented 9 years ago

Thanks for the suggestion. Have to test if this works in other browsers as well.

sjarvela commented 9 years ago

Added, will be in next Kloudspeaker release

sjarvela commented 9 years ago

In 2.6.8