The branch, master has been updated
via 1b8b7a9b93ba889c23733e86225ce82d853c40b3 (commit)
from 46c5bfc01d60d1ebb638b591a595a0a877d139b8 (commit)
- Log -----------------------------------------------------------------
commit 1b8b7a9b93ba889c23733e86225ce82d853c40b3
Author: Michal Čihař <michal(a)cihar.com>
Date: Thu Sep 1 14:29:39 2011 +0200
This is not needed as well
-----------------------------------------------------------------------
Summary of changes:
libraries/core.lib.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libraries/core.lib.php b/libraries/core.lib.php
index acedea4..cdf44ee 100644
--- a/libraries/core.lib.php
+++ b/libraries/core.lib.php
@@ -579,8 +579,8 @@ function PMA_download_header($filename, $mimetype, $length = 0,
$no_cache = true
}
/* Replace all possibly dangerous chars in filename */
$filename = str_replace(array(';', '"', "\n",
"\r"), '-', $filename);
- header('Content-Description: File Transfer');
if (!empty($filename)) {
+ header('Content-Description: File Transfer');
header('Content-Disposition: attachment; filename="' . $filename .
'"');
}
header('Content-Type: ' . $mimetype);
hooks/post-receive
--
phpMyAdmin
Show replies by date