function _openid_normalize

6.x openid.inc _openid_normalize($identifier)

Normalize the given identifier as per spec.

2 calls to _openid_normalize()
openid_begin in drupal-6.x/modules/openid/openid.module
The initial step of OpenID authentication responsible for the following:
openid_user_add_validate in drupal-6.x/modules/openid/openid.pages.inc

File

drupal-6.x/modules/openid/openid.inc, line 93
OpenID utility functions.

Code

function _openid_normalize($identifier) {
  if (_openid_is_xri($identifier)) {
    return _openid_normalize_xri($identifier);
  }
  else {
    return _openid_normalize_url($identifier);
  }
}