? forms-invalidCharactersInInputElementID-168722-5.patch
Index: includes/form.inc
===================================================================
RCS file: /cvs/drupal/drupal/includes/form.inc,v
retrieving revision 1.174.2.17
diff -u -p -r1.174.2.17 form.inc
--- includes/form.inc	26 Feb 2009 05:50:33 -0000	1.174.2.17
+++ includes/form.inc	18 May 2010 05:40:08 -0000
@@ -52,7 +52,7 @@ function drupal_get_form($form_id) {
   // a copy of the previously built form for validation and processing,
   // then go on to the one that was requested if everything works.
 
-  $form_build_id = md5(mt_rand());
+  $form_build_id = 'form-'.md5(mt_rand());
   if (isset($_POST['form_build_id']) && isset($_SESSION['form'][$_POST['form_build_id']]['args']) && $_POST['form_id'] == $form_id) {
     // There's a previously stored multi-step form. We should handle
     // IT first.
