message we want to download. Fixes #712775
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4710
7612ce4b-ef26-0410-bec9-
ea0150e637f0
/* raw message */
$type0 = 'message';
$type1 = 'rfc822';
- $encoding = "US-ASCII";
+ $encoding = 'US-ASCII';
}
/*
$filename = $header->getParameter('name');
}
} else {
- $filename = $header->getParameter('name');
+ $filename = $message->header->getParameter('name');
}
+
$filename = decodeHeader($filename);
if (strlen($filename) < 1) {
if ($type1 == 'plain' && $type0 == 'text') {