Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.0.0

Bug #13905 Unable to explode the UP.Browser/
Submitted: 2008-05-15 05:31 UTC
From: ikeda Assigned: kuboa
Status: Closed Package: Net_UserAgent_Mobile (version 1.0.0RC1)
PHP Version: 5.1.1 OS: CentOS
Roadmaps: 1.0.0RC2    

 [2008-05-15 05:31 UTC] ikeda (Youhey Ikeda)
Description: ------------ I get the following notice in the error_log. PHP Notice: Undefined offset: 1 in /path/to/pear/Net/UserAgent/Mobile/EZweb.php on line 166 This is because the user-agent was "UP.Browser/ (GUI) MMP/2.0" HTTP request. The string "" doesn't have "-".


 [2008-05-15 10:33 UTC] kuboa (KUBO Atsuhiro)
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on by the end of next Sunday (CET). If this was a problem with the website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better. I don't know the user agent such like "UP.Browser/ (GUI) MMP/2.0" without starting "KDDI-". It seems wrong format come from any client. OK, I added @ to all list() calls to avoid unwanted warnings for invalid user agent string. Thanks.