=== modified file 'openid_launchpad.module' --- openid_launchpad.module 2009-03-27 11:13:33 +0000 +++ openid_launchpad.module 2009-07-12 14:21:55 +0000 @@ -117,7 +117,7 @@ * @return The response from openid_begin() */ function openid_launchpad_path_action() { - $return_to = url('openid/authenticate', array('absolute' => TRUE)); + $return_to = 'http://' . $_SERVER['HTTP_HOST'] . '/openid/authenticate'; $openid = variable_get('openid_launchpad_server', LAUNCHPAD_PRODUCTION_URL); return openid_begin($openid, $return_to); } @@ -288,7 +288,7 @@ */ function openid_launchpad_contents(&$form_state) { $form = array( - '#action' => url($_GET['q'], array('query' => drupal_get_destination())), + '#action' => 'http://' . $_SERVER['HTTP_HOST'] . '/' . $_GET['q'], '#id' => 'openid-launchpad-login-form', '#base' => 'user_login', ); @@ -302,7 +302,7 @@ ); $form['openid.return_to'] = array( '#type' => 'hidden', - '#value' => url('openid/authenticate', array('query' => drupal_get_destination(), + '#value' => 'http://' . $_SERVER['HTTP_HOST'] . '/openid/authenticate', 'absolute' => TRUE)) ); $form['#validate'] = array('openid_login_validate');