Index: autosave.js
===================================================================
--- autosave.js	(revision 1013)
+++ autosave.js	(working copy)
@@ -67,7 +67,7 @@
   }
   
   var serialized = $('#node-form').formHash();
-  serialized['q'] =  Drupal.settings.autosave.q;
+  serialized['autosave_path'] =  Drupal.settings.autosave.autosave_path;
   $.ajax({
     url: Drupal.settings.basePath + "autosave/handler",
     type: "POST",
Index: autosave.module
===================================================================
--- autosave.module	(revision 1015)
+++ autosave.module	(working copy)
@@ -102,7 +102,7 @@
       
       $settings['autosave']['url'] = url('autosave/handler');
       $settings['autosave']['period'] = variable_get('autosave_period', 10);
-      $settings['autosave']['q'] = $path;
+      $settings['autosave']['autosave_path'] = $path;
       $settings['autosave']['hidden'] = variable_get('autosave_hidden', 0);
       
       // If an autosaved version of the form exists, make it available via javascript.
@@ -124,11 +124,11 @@
  */
 function autosave_save() {
   global $user;
-  $path = $_POST['q'];
+  $path = $_POST['autosave_path'];
   $form_id = $_POST['form_id'];
   // Not all variables need to be serialized.
   //    - for Drupal 6 version need to remove op and form_build_id
-  unset($_POST['q'], $_POST['op'], $_POST['form_build_id']);
+  unset($_POST['autosave_path'], $_POST['op'], $_POST['form_build_id']);
   $serialized = serialize($_POST);
 
   // check if node has just been saved - if it has then it's because AS ajax fired off as user was submitting
