function openid_redirect_http
Performs an HTTP 302 redirect (for the 1.x protocol).
1 call to openid_redirect_http()
- openid_begin in modules/
openid/ openid.module - The initial step of OpenID authentication responsible for the following:
File
-
modules/
openid/ openid.inc, line 75
Code
function openid_redirect_http($url, $message) {
$query = array();
foreach ($message as $key => $val) {
$query[] = $key . '=' . urlencode($val);
}
$sep = strpos($url, '?') === FALSE ? '?' : '&';
header('Location: ' . $url . $sep . implode('&', $query), TRUE, 302);
drupal_exit();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.