Seth Randall, take 2
authorteepe <teepe@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sat, 16 Feb 2002 00:03:50 +0000 (00:03 +0000)
committerteepe <teepe@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sat, 16 Feb 2002 00:03:50 +0000 (00:03 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@2453 7612ce4b-ef26-0410-bec9-ea0150e637f0

src/redirect.php
src/webmail.php

index 52b2083839b4521dbac47f2e685ef59a85f6964d..81373976b85224e343055e3dce10e83b45e7eab8 100644 (file)
@@ -149,7 +149,7 @@ setPref($data_dir, $username, 'javascript_on', $js_pref);
 /* Compute the URL to forward the user to. */
 if(isset($rcptemail)) {
     $redirect_url = 'webmail.php?right_frame=compose.php&rcptaddress=';
-    $redirect_url .= urlencode($rcptemail);
+    $redirect_url .= $rcptemail;
 } else {
     $redirect_url = 'webmail.php';
 }
index d3bc90ce6fc5a93b8db043b1f9cb72ac6ba4208e..0c96bebe1a4e3f3194caa9142741b9bceac6a2d5 100644 (file)
@@ -90,7 +90,6 @@ if ($right_frame == 'right_main.php') {
 } elseif ($right_frame == 'folders.php') {
     $right_frame_url = 'folders.php';
 } elseif ($right_frame == 'compose.php') {
-    $rcptaddress = urldecode($rcptaddress);
     $right_frame_url = "compose.php?send_to=$rcptaddress";
 } else {
     $right_frame_url = 'right_main.php';