[Phpmyadmin-git] [SCM] phpMyAdmin branch, master, updated. RELEASE_3_4_4-18348-g1b8b7a9

Michal Čihař nijel at users.sourceforge.net
Thu Sep 1 14:29:54 CEST 2011


The branch, master has been updated
       via  1b8b7a9b93ba889c23733e86225ce82d853c40b3 (commit)
      from  46c5bfc01d60d1ebb638b591a595a0a877d139b8 (commit)


- Log -----------------------------------------------------------------
commit 1b8b7a9b93ba889c23733e86225ce82d853c40b3
Author: Michal Čihař <michal at 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




More information about the Git mailing list