openid/python-openid

UnicodeDecodeError on discovery

ziima opened this issue · 1 comments

When it is discovered page that contains in attribute value both unicode chars and html entities, UnicodeDecodeError is raised.

Example of code:

I found a possible solution by decoding resp.body in openid/yadis/discover.whereIsYadis() function before findHTMLMeta() function is called.

Problem described with pull request in Issue #13