[Code] python-openid unicode issues

Kai Lautaportti kai.lautaportti at hexagonit.fi
Tue Oct 19 10:31:10 UTC 2010


Hi

I've recently worked with the python-openid library (version 2.2.5) in
a project that deals with both the consumer and provider aspects of
the library. While using both the Simple Registation and Attribute
Exchange extensions for passing information between the provider and
the consumer I found out that non-ASCII characters cause issues which
prevent the attribute exchange from working properly.

I've forked the library on github at

  http://github.com/dokai/python-openid

and I have two commits that attempt to fix the issues that I found. I
would like to work towards having the issues fixed and included in an
official release of the library. I was hoping for someone to review
the issues and proposed fixes and give me feedback on what is required
to have them merged back to the mainline.

The two commits are

  http://github.com/dokai/python-openid/commit/0dd2e8109e7d5d2ccdd224a30a325c1beaf4fc09

  http://github.com/dokai/python-openid/commit/c3d9bffefa435dac9dba5ab9ecac715e589e1668

and the commit messages attempt to clarify the issue and the proposed
fix. The commits also include unit tests which fail without the
proposed fixes.

cheers,
Kai Lautaportti


-- 
CTO Kai Lautaportti
Hexagon IT Oy

kai.lautaportti at hexagonit.fi
www.hexagonit.fi
+358-40-486-9803


More information about the Code mailing list