#24832 [NEW]: Net::UserAgent_Detect: Problem with some user agents

From: Date: Sun, 27 Jul 2003 22:04:49 +0000
Subject: #24832 [NEW]: Net::UserAgent_Detect: Problem with some user agents
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-18818@lists.php.net to get a copy of this message
From: ddomhoff at web dot de Operating system: Irrelevant PHP version: Irrelevant PHP Bug Type: PEAR related Bug description: Net::UserAgent_Detect: Problem with some user agents Description: ------------ It seems, that Net_UserAgent_Detect does not get along with user agents, which have an underscore in their string, like the W3C Validator has. If there is one, you get notices: Undefined offset: 0 in PEAR\Net\UserAgent\Detect.php on line 249 The same for offset 1, 2 and 3. -- Edit bug report at http://bugs.php.net/?id=24832&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=24832&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=24832&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=24832&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=24832&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=24832&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=24832&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=24832&r=support Expected behavior: http://bugs.php.net/fix.php?id=24832&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=24832&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=24832&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=24832&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24832&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=24832&r=dst IIS Stability: http://bugs.php.net/fix.php?id=24832&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=24832&r=gnused

« previous php.pear.dev (#18818) next »