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/6.2.0.5
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    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 11 + 9 = ?

 
 [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/6.2.0.5 (GUI) MMP/2.0" HTTP request. The string "6.2.0.5" doesn't have "-".

Comments

 [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 pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net 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/6.2.0.5 (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.