You are here

function _openid_normalize_xri in Drupal 6

1 call to _openid_normalize_xri()
_openid_normalize in modules/openid/openid.inc
Normalize the given identifier as per spec.

File

modules/openid/openid.inc, line 102
OpenID utility functions.

Code

function _openid_normalize_xri($xri) {
  $normalized_xri = $xri;
  if (stristr($xri, 'xri://') !== FALSE) {
    $normalized_xri = substr($xri, 6);
  }
  return $normalized_xri;
}