From 506db8ce30f74b7aef00a28170d703e21fa58907 Mon Sep 17 00:00:00 2001 From: Brett Zamir Date: Sat, 1 Feb 2014 16:50:05 +0000 Subject: [PATCH] Fix charset addition for ext-server_opensave.js git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2664 eee81c28-f429-11dd-99c0-75d572ba1ddd --- editor/extensions/filesave.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/extensions/filesave.php b/editor/extensions/filesave.php index 95d7e044..66227cbc 100644 --- a/editor/extensions/filesave.php +++ b/editor/extensions/filesave.php @@ -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;