My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 65: LightOpenId constructor fails when trusted root URL is less than 8 chars
1 person starred this issue and may be notified of changes. Back to list
Status:  New
Owner:  ----


 
Reported by mark.saw...@gmail.com, Apr 13, 2013
Line 85 throws an error like:

Warning: strpos() [function.strpos]: Offset not contained in string in /opt/wordpress/wp-content/plugins/wordpress-social-login/hybridauth/Hybrid/thirdparty/OpenID/LightOpenID.php on line 85

Changing it to the following fixes the issue:

if(strlen($this->trustRoot >= 8) && ($host_end = strpos($this->trustRoot, '/', 8)) !== false) {

Powered by Google Project Hosting