ZF2-339: Zend\OpenID\Consumer Generates Illegal 'openid.realm' Values

Issue Type: Bug Created: 2012-06-05T05:10:32.000+0000 Last Updated: 2012-06-05T05:10:32.000+0000 Status: Open Fix version(s): Reporter: Joseph Warner (hardolaf) Assignee: Matthew Weier O'Phinney (matthew) Tags: - Zend\OpenId

Related issues: Attachments:


When calling OpenID->selfUrl() from a directory that is not on the root of the server, it will return a 'openid.realm' value that violates the specification as implemented by several major OpenID providers (tested with and an installation of SimpleID).

The violation include the directory on which call originated from. For example, if the call originates from then the realm will be properly set to '' however, if it originate from '' then the realm will be set to '' which will cause errors with at least OpenID providers.


No comments to display

Have you found an issue?

See the Overview section for more details.


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

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