diff options
author | Craig Andrews <candrews@integralblue.com> | 2009-10-30 01:30:42 -0400 |
---|---|---|
committer | Craig Andrews <candrews@integralblue.com> | 2009-10-30 01:30:42 -0400 |
commit | 02131db1c976831241b61e205ccda9e3232c4fe2 (patch) | |
tree | b7a7231c5b936cec169a8658abf253e99a857633 /extlib/Auth/OpenID | |
parent | 005f85b5eaace14a1303eb51fb216e6d77696244 (diff) |
Bump to Auth_OpenID 2.1.3
Diffstat (limited to 'extlib/Auth/OpenID')
-rw-r--r-- | extlib/Auth/OpenID/BigMath.php | 2 | ||||
-rw-r--r-- | extlib/Auth/OpenID/Consumer.php | 3 | ||||
-rw-r--r-- | extlib/Auth/OpenID/Message.php | 5 |
3 files changed, 8 insertions, 2 deletions
diff --git a/extlib/Auth/OpenID/BigMath.php b/extlib/Auth/OpenID/BigMath.php index b5fc627a0..45104947d 100644 --- a/extlib/Auth/OpenID/BigMath.php +++ b/extlib/Auth/OpenID/BigMath.php @@ -376,7 +376,7 @@ function Auth_OpenID_detectMathLibrary($exts) // Try to load dynamic modules. if (!$loaded) { foreach ($extension['modules'] as $module) { - if (function_exists('dl') && ini_get('enable_dl') && !ini_get('safe_mode') && @dl($module . "." . PHP_SHLIB_SUFFIX)) { + if (@dl($module . "." . PHP_SHLIB_SUFFIX)) { $loaded = true; break; } diff --git a/extlib/Auth/OpenID/Consumer.php b/extlib/Auth/OpenID/Consumer.php index a72684c6b..500890b65 100644 --- a/extlib/Auth/OpenID/Consumer.php +++ b/extlib/Auth/OpenID/Consumer.php @@ -1295,7 +1295,8 @@ class Auth_OpenID_GenericConsumer { Auth_OpenID_OPENID2_NS => array_merge($basic_sig_fields, array('response_nonce', 'claimed_id', - 'assoc_handle')), + 'assoc_handle', + 'op_endpoint')), Auth_OpenID_OPENID1_NS => array_merge($basic_sig_fields, array('nonce')) ); diff --git a/extlib/Auth/OpenID/Message.php b/extlib/Auth/OpenID/Message.php index fd23e67a3..5ab115a86 100644 --- a/extlib/Auth/OpenID/Message.php +++ b/extlib/Auth/OpenID/Message.php @@ -887,6 +887,11 @@ class Auth_OpenID_Message { function getAliasedArg($aliased_key, $default = null) { + if ($aliased_key == 'ns') { + // Return the namespace URI for the OpenID namespace + return $this->getOpenIDNamespace(); + } + $parts = explode('.', $aliased_key, 2); if (count($parts) != 2) { |