=== includes/form.inc
==================================================================
--- includes/form.inc	(revision 491)
+++ includes/form.inc	(local)
@@ -625,13 +625,13 @@
   if (!isset($goto) || ($goto !== FALSE)) {
     if (isset($goto)) {
       if (is_array($goto)) {
-        call_user_func_array('drupal_goto', $goto);
+        call_user_func_array('drupal_goto', $goto, NULL, NULL, 303);
       }
       else {
-        drupal_goto($goto);
+        drupal_goto($goto, NULL, NULL, 303);
       }
     }
-    drupal_goto($_GET['q']);
+    drupal_goto($_GET['q'], NULL, NULL, 303);
   }
 }
 
@@ -2053,7 +2053,7 @@
  */
 function theme_form($element) {
   // Anonymous div to satisfy XHTML compliance.
-  $action = $element['#action'] ? 'action="'. check_url($element['#action']) .'" ' : '';
+  $action = $element['#action'] ? 'action="'. check_url($element['#action']) .'?form_post" ' : '';
   return '<form '. $action .' accept-charset="UTF-8" method="'. $element['#method'] .'" id="'. $element['#id'] .'"'. drupal_attributes($element['#attributes']) .">\n<div>". $element['#children'] ."\n</div></form>\n";
 }
 
