bug #1981043 [export] HTML in exports getting corrupted

This commit is contained in:
Marc Delisle
2008-06-01 12:15:23 +00:00
parent 713954c55f
commit fac0e14389
2 changed files with 6 additions and 0 deletions

View File

@@ -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);
}