* redirect.php
* Derived from webmail.php by Ralf Kraudelt <kraude@wiwi.uni-rostock.de>
*
-* Copyright (c) 1999-2004 The SquirrelMail Project Team
+* Copyright (c) 1999-2005 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.
}
if($mailto != '') {
$redirect_url = $location . '/webmail.php?right_frame=compose.php&mailto=';
- $redirect_url .= $mailto;
+ $redirect_url .= urlencode($mailto);
}
/* Write session data and send them off to the appropriate page. */