=== modified file 'includes/form.inc'
--- includes/form.inc	2007-08-26 07:31:48 +0000
+++ includes/form.inc	2007-08-28 19:18:25 +0000
@@ -500,6 +500,7 @@ function drupal_render_form($form_id, &$
  *   to if none is specified by the form.
  */
 function drupal_redirect_form($form, $redirect = NULL) {
+  global $base_url;
   $goto = NULL;
   if (isset($redirect)) {
     $goto = $redirect;
@@ -516,7 +517,9 @@ function drupal_redirect_form($form, $re
         drupal_goto($goto);
       }
     }
-    drupal_goto($_GET['q']);
+    // We use base_url here to make an absolute URL so this does not get
+    // encoded.
+    drupal_goto($base_url . request_uri());
   }
 }
 

