From fac0e14389e50ed85726446de11e40567798a0cc Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Sun, 1 Jun 2008 12:15:23 +0000 Subject: [PATCH] bug #1981043 [export] HTML in exports getting corrupted --- ChangeLog | 2 ++ export.php | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/ChangeLog b/ChangeLog index 3b5e8ca733..ab3d74d34a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -22,6 +22,8 @@ $HeadURL: https://phpmyadmin.svn.sourceforge.net/svnroot/phpmyadmin/trunk/phpMyA it for sure, thanks to Vladyslav Bakayev - dandy76 - bug #1955572 [display] alt text causes duplicated strings - bug #1762029 [interface] Cannot upload BLOB into existing row +- bug #1981043 [export] HTML in exports getting corrupted, + thanks to Jason Judge - jasonjudge 2.11.6.0 (2008-04-29) - bug #1903724 [interface] Displaying of very large queries in error message diff --git a/export.php b/export.php index c8ef540c03..fe3abb0155 100644 --- a/export.php +++ b/export.php @@ -338,6 +338,10 @@ if ($save_on_server) { if (!$save_on_server) { if ($asfile) { // Download + // (avoid rewriting data containing HTML with anchors and forms; + // this was reported to happen under Plesk) + ini_set('url_rewriter.tags',''); + if (!empty($content_encoding)) { header('Content-Encoding: ' . $content_encoding); }