? ac.post.path Index: ac.inc =================================================================== RCS file: /cvs/drupal/contributions/modules/ac/ac.inc,v retrieving revision 1.7 diff -u -p -r1.7 ac.inc --- ac.inc 4 Sep 2008 22:48:15 -0000 1.7 +++ ac.inc 19 Feb 2009 04:03:42 -0000 @@ -26,13 +26,13 @@ function ac_process_request($module, $op } // Validate token - if (!isset($_GET['token']) || !_ac_check_token($_GET['token'])){ + if (!isset($_POST['token']) || !_ac_check_token($_POST['token'])){ watchdog('ac', 'Invalid token'); die(t('Callback failed.')); } // Build args from query string - $args = $_GET; + $args = $_POST; unset($args['q']); // Execute callback @@ -198,4 +198,4 @@ function _ac_get_default_response() { ); } - \ No newline at end of file + Index: ac.js =================================================================== RCS file: /cvs/drupal/contributions/modules/ac/ac.js,v retrieving revision 1.8 diff -u -p -r1.8 ac.js --- ac.js 4 Sep 2008 22:54:36 -0000 1.8 +++ ac.js 19 Feb 2009 04:03:42 -0000 @@ -25,9 +25,9 @@ AC.request = function(module, op, data, if (!AC.isLocked(module, op)){ d.token = Drupal.settings.ac.token; - $.getJSON(u, d, function(response){ + $.post(u, d, function(response){ c(response); - }); + }, 'json'); } };