diff options
author | Josh Hoyt <josh@janrain.com> | 2006-09-21 20:25:52 +0000 |
---|---|---|
committer | Josh Hoyt <josh@janrain.com> | 2006-09-21 20:25:52 +0000 |
commit | 3f4dc2ac13d6f5bf0f48271d6e8e7cdb0d16c209 (patch) | |
tree | b0e0c847dd11d37316cd86d46f26928efb2a27ca /Auth/OpenID/SQLiteStore.php | |
parent | f7eae66274c576a8b043a908a27f5a223437cc49 (diff) | |
download | php-openid-3f4dc2ac13d6f5bf0f48271d6e8e7cdb0d16c209.zip php-openid-3f4dc2ac13d6f5bf0f48271d6e8e7cdb0d16c209.tar.gz php-openid-3f4dc2ac13d6f5bf0f48271d6e8e7cdb0d16c209.tar.bz2 |
[project @ More info in comment about SQLite bug workaround]
Diffstat (limited to 'Auth/OpenID/SQLiteStore.php')
-rw-r--r-- | Auth/OpenID/SQLiteStore.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Auth/OpenID/SQLiteStore.php b/Auth/OpenID/SQLiteStore.php index a8ccf90..81f7ce9 100644 --- a/Auth/OpenID/SQLiteStore.php +++ b/Auth/OpenID/SQLiteStore.php @@ -62,7 +62,9 @@ class Auth_OpenID_SQLiteStore extends Auth_OpenID_SQLStore { // current release at the time of this writing) have a broken // sqlite_escape_string function that breaks when passed the // empty string. Prefixing all strings with one character - // keeps them unique and avoids this bug. + // keeps them unique and avoids this bug. The nonce table is + // write-only, so we don't have to worry about updating other + // functions with this same bad hack. return parent::_add_nonce('x' . $server_url, $timestamp, $salt); } } |