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 52b2083..8137397 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 d3bc90c..0c96beb 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';