Fix charset addition for ext-server_opensave.js
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2664 eee81c28-f429-11dd-99c0-75d572ba1ddd
This commit is contained in:
@@ -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)
|
// 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
|
$file
|
||||||
));
|
));
|
||||||
header("Content-Type: " . $mime . 'charset=utf-8');
|
header("Content-Type: " . $mime . ';charset=utf-8');
|
||||||
header("Content-Transfer-Encoding: binary");
|
header("Content-Transfer-Encoding: binary");
|
||||||
|
|
||||||
echo $contents;
|
echo $contents;
|
||||||
|
|||||||
Reference in New Issue
Block a user