Fix charset addition for ext-server_opensave.js

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2664 eee81c28-f429-11dd-99c0-75d572ba1ddd
master
Brett Zamir 2014-02-01 16:50:05 +00:00
parent 0e9a7a7766
commit 506db8ce30
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ header("Content-Disposition: attachment; filename*=UTF-8''" . encodeRFC5987Value
// preg_replace('@[\\\\/:*?"<>|]@', '', $file) // If we wanted to strip Windows-disallowed characters server-side (but not a security issue, so we can strip client-side instead)
$file
));
header("Content-Type: " . $mime . 'charset=utf-8');
header("Content-Type: " . $mime . ';charset=utf-8');
header("Content-Transfer-Encoding: binary");
echo $contents;