Removed logging calls for a successful retrieval, as the PlainHTTPFetcher doesn't perform logging on a successful commit.
Revert "1. Added urldecoding POST form values (browser will encode them if needed)."

Since the message values are not URL encoded, calling urldecode() on
them does not make sense. Instead, it breaks any OpenID parameter
containing anything that looks like URL encoding.

This reverts commit 8d53dfe542f321da3a6e6d6e626923d575ed91d2.
Properly escape form output data.

Since this data is inserted as strings in HTML documents, we should
call htmlspecialchars() to protect against any values containing
special characters, e.g. '"' or '&'.
Clean up reference assignment of objects.

Since all objects are passed by reference in PHP 5, assigning them by
reference does not make sense, and in some cases causes warnings.
Merge pull request #84 from pixnet/master

Set proxy options only if Auth_OpenID_HTTP_PROXY is explicitly set
Merge pull request #61 from JonTheNiceGuy/removelogging

Removed logging calls for a successful retrieval, as the PlainHTTPFetcher doesn't perform logging on a successful commit.
Merge pull request #83 from UNINETT/master

Fix encoding errors in some POST forms + fix example server
If $_SESSION isn't set, don't trigger a PHP notice.
Better to use isset() in case it doesn't exist.
Merge pull request #91 from henrrrik/patch-1

If $_SESSION isn't set, don't trigger a PHP notice.
Call-time pass-by-reference fix
Added composer.json
Merge pull request #95 from DavidMikeSimon/master

Added composer support
included more checks for file access errors
Merge pull request #96 from etienneq/zero_filesize_bug

Separate file_exists() and filesize() checks to avoid fread and filesize error
Fixes #54. Pass request data to fix AX.

AX fetch response is created based on AX fetch request data. Need to
pass the $request to the Auth_OpenID_AX_FetchResponse getExtensionArgs
method.
Merge pull request #97 from Jannie/master

Pass request data to fix AX. Fixes #54.
Prevent errors in strict mode due to weird PEAR static method declarations
Merge pull request #99 from DavidMikeSimon/master

PEAR and strict mode issues
Improves open_basedir detection

fredden@gordo:/tmp/php-openid/examples$ php detect.php | grep -C1 basedir 
If you are using a filesystem-based store or SQLite, be aware that
open_basedir
<http://www.php.net/manual/en/features.safe-mode.php#ini.open-basedir> is
in effect. This means that your data will have to be stored in one of the
fredden@gordo:/tmp/php-openid/examples$ php -i | grep basedir 
open_basedir => no value => no value
fredden@gordo:/tmp/php-openid/examples$ vi detect.php 
fredden@gordo:/tmp/php-openid/examples$ php detect.php | grep basedir 
The *open_basedir* configuration restriction is not in effect.
fredden@gordo:/tmp/php-openid/examples$ git diff detect.php 
diff --git a/examples/detect.php b/examples/detect.php
index 9c59db3..90e3995 100644
--- a/examples/detect.php
+++ b/examples/detect.php
@@ -352,7 +352,7 @@ function detect_stores($r, &$out)
     }
 
     $basedir_str = ini_get('open_basedir');
-    if (gettype($basedir_str) == 'string') {
+    if (gettype($basedir_str) == 'string' && $basedir_str) {
         $url = 'http://www.php.net/manual/en/features.safe-mode.php' .
             '#ini.open-basedir';
         $lnk = $r->link($url, 'open_basedir');
fredden@gordo:/tmp/php-openid/examples$