*
* Derived from webmail.php by Ralf Kraudelt <kraude@wiwi.uni-rostock.de>
*
- * @copyright © 1999-2006 The SquirrelMail Project Team
+ * @copyright © 1999-2007 The SquirrelMail Project Team
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
* @version $Id$
* @package squirrelmail
// of the last page
$redirect_url = $session_expired_location;
} else {
- $redirect_url = $location.'/webmail.php?right_frame='.urldecode($session_expired_location);
+ $redirect_url = $location.'/webmail.php?right_frame='.urlencode($session_expired_location);
}
}
unset($session_expired_location);
function attachment_common_parse($str, $debug) {
global $attachment_common_types, $attachment_common_types_parsed;
- $attachment_common_types_parsed[$str] = true;
-
/*
* Replace ", " with "," and explode on that as Mozilla 1.x seems to
* use "," to seperate whilst IE, and earlier versions of Mozilla use
}
}
sqsession_register($attachment_common_types, 'attachment_common_types');
+
+ /* mark as parsed */
+ $attachment_common_types_parsed[$str] = true;
}