Issues

ZF-2345: Zend_OpenId_Consumer fails to identify OpenId server element when attributes are single-quoted

Issue Type: Bug Created: 2007-12-21T11:22:45.000+0000 Last Updated: 2008-02-26T12:56:01.000+0000 Status: Resolved Fix version(s): - 1.0.4 (26/Feb/08)

Reporter: Adam Jensen (jazzslider) Assignee: Dmitry Stogov (dmitry) Tags: - Zend_OpenId

Related issues: Attachments:

Description

The regular expression which Zend_OpenId_Consumer uses to find the element in the discovery response currently requires the attribute values in that element to be double-quoted (Zend_OpenId_Consumer, lines 618-626). This makes sense given the XML underpinnings of most modern HTML, as attribute values in XML are required to be double-quoted.

However, since OpenID can be implemented by anyone on any server, it stands to reason that it might be implemented by developers who are not familiar with this requirement. A good case in point is the blog I recently started on Wordpress.com. The OpenID element used in Wordpress.com blogs single-quotes its attribute values; this behavior does not appear to be modifiable, and it looks like it would affect a lot of users.

I would like to propose modifying the regular expression to allow for single-quoted attribute values, so as to avoid unpleasant login errors in these kinds of situations.

Comments

No comments to display

Have you found an issue?

See the Overview section for more details.

Copyright

© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts