Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Čihař <mcihar@suse.cz>2011-08-04 17:00:38 +0400
committerMichal Čihař <mcihar@suse.cz>2011-08-04 17:00:48 +0400
commit3a10de866c257225ffb41a92d081b31489c305b2 (patch)
tree9214c500071034cc6f2bf6f4936a183db89b8b00 /tbl_get_field.php
parentfa300e3887c8468ca738077594d6ef5fae459f46 (diff)
Include length in headers
Diffstat (limited to 'tbl_get_field.php')
-rw-r--r--tbl_get_field.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/tbl_get_field.php b/tbl_get_field.php
index 8c6c1639e9..42d02d0a93 100644
--- a/tbl_get_field.php
+++ b/tbl_get_field.php
@@ -37,6 +37,10 @@ if ($result === false) {
/* Avoid corrupting data */
@ini_set('url_rewriter.tags', '');
-PMA_download_header($table . '-' . $transform_key . '.bin', PMA_detectMIME($result));
+PMA_download_header(
+ $table . '-' . $transform_key . '.bin',
+ PMA_detectMIME($result),
+ true,
+ strlen($result));
echo $result;
?>