* redirect.php
* Derived from webmail.php by Ralf Kraudelt <kraude@wiwi.uni-rostock.de>
*
-* Copyright (c) 1999-2002 The SquirrelMail Project Team
+* Copyright (c) 1999-2003 The SquirrelMail Project Team
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* Prevents users from reposting their form data after a successful logout.
global $attachment_common_types, $attachment_common_types_parsed;
$attachment_common_types_parsed[$str] = true;
- $types = explode(', ', $str);
+
+ /*
+ * Replace ", " with "," and explode on that as Mozilla 1.x seems to
+ * use "," to seperate whilst IE, and earlier versions of Mozilla use
+ * ", " to seperate
+ */
+
+ $str = str_replace( ', ' , ',' , $str );
+ $types = explode(',', $str);
foreach ($types as $val) {
// Ignore the ";q=1.0" stuff