This got me in the right path. preprocess_page didn't have access to the $form, but I was able to search replace the action if the drupal_get_headers is a 404
↧