[PEAR-BUG] Bug #19680 [Opn->Csd]: Warning: strpos(): Offset not contained in string

[email protected]
Newsgroups php.pear.bugs
Message-ID <[email protected]>
Edit report at https://pear.php.net/bugs/bug.php?id=19680&edit=1

 ID:               19680
 Updated by:       [email protected]
 Reported By:      cweiske at php dot net
 Summary:          Warning: strpos(): Offset not contained in string
-Status:           Open
+Status:           Closed
 Type:             Bug
 Package:          OpenID
 Package Version:  0.3.3
 PHP Version:      Irrelevant
-Assigned To:      
+Assigned To:      cweiske
-Roadmap Versions: 
+Roadmap Versions: 0.4.0
 New Comment:

-Status:           Open
+Status:           Closed
-Assigned To:
+Assigned To:      cweiske
-Roadmap Versions:
+Roadmap Versions: 0.4.0
Fixed in git.


Previous Comments:
------------------------------------------------------------------------

[2012-10-29 19:56:44] cweiske

Description:
------------
OpenID identifer normalization gives a warning with a faulty string
"http://", which is the default in some applications:

When running
> OpenID::normalizeIdentifier('http://')
I get:
> Warning: strpos() [function.strpos]: Offset not contained in string
in
> /usr/share/php/OpenID.php on line 297

------------------------------------------------------------------------


-- 
Edit this bug report at https://pear.php.net/bugs/bug.php?id=19680&edit=1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.