Main
Latest
- Ubuntu 8.04 (Hardy Heron) Released!
- Garden Route WUG
- Garden Route ID
- Syndicated Content on Facebook
- GardenRoute.com Facebook App Profile Badges
- Muti Wordpress 2.5 Plugin
- OAuth: Good or bad?
- tert-Butylhydroquinone Cytotoxicity
- Afrigator / Muti Mashup Idea #1
- hKit and Tidy
Archives
- June 2004
- July 2004
- August 2004
- September 2004
- October 2004
- November 2004
- December 2004
- January 2005
- February 2005
- March 2005
- April 2005
- May 2005
- June 2005
- July 2005
- August 2005
- September 2005
- October 2005
- November 2005
- December 2005
- January 2006
- February 2006
- March 2006
- April 2006
- May 2006
- June 2006
- July 2006
- August 2006
- September 2006
- November 2006
- December 2006
- January 2007
- February 2007
- March 2007
- April 2007
- May 2007
- June 2007
- July 2007
- August 2007
- September 2007
- October 2007
- November 2007
- December 2007
- January 2008
- February 2008
- March 2008
- April 2008
- May 2008
- June 2008
- July 2008
- August 2008
- September 2008
- October 2008
- November 2008
- December 2008
- January 2009
Zend Framework OpenID Bug
I am setting up an OpenID provider tonight using Zend Framework's OpenID library but ran into strange issues when it came to passing "extension" variables. On the consumer side, the variables were passed back but they all had a value of 1 instead of the full string value for some reason. After quite a bit of searching, I found a "small" bug in Zend/OpenId/Extension/Sreg.php. After I added exactly 7 characters to the file, everything worked as expected. Here is my diff:
--- Sreg.php.bak 2008-04-27 02:07:31.000000000 +0200
+++ Sreg.php 2008-04-27 02:10:24.000000000 +0200
@@ -189,7 +189,7 @@
$props2 = array();
foreach (self::getSregProperties() as $prop) {
if (isset($props[$prop])) {
- $props2[$prop] = $props[$prop];
+ $props2[$prop] = $this->_props[$prop];
}
}
I tried to submit this bug on the issue tracker but I have to wait for them to authorise me first.
Copyright © 2004-2009 Charl van Niekerk. All articles are released under the Creative Commons Attribution 2.5 South Africa licence, unless where otherwise stated.


2 Comments
Comment by
Wil SInclair on Monday, April 28, 2008 7:50:00 PM
We've got the issue tracker down today for maintenance. I'm forwarding this directly to Dmitry so it can be addressed quickly. Hope Zend_OpenId is treating you well otherwise!
,Wil
Comment by
Charl van Niekerk on Monday, April 28, 2008 9:55:00 PM
Thanks Wil! Yes otherwise it is being really great!
Post a Comment